Actions
Feature #260
closedString should have a crypt! method
Description
=begin
For consistency, String should probably have a crypt! method that looks like this:
def crypt!(salt=nil)
replace(crypt(salt))
end
Note: This has salt=nil, from the suggestion in #259.
=end
Updated by rlaager (Richard Laager) over 16 years ago
=begin
This is done in the Facets library: http://facets.rubyforge.org/
=end
Updated by matz (Yukihiro Matsumoto) over 16 years ago
- Status changed from Open to Rejected
- Assignee set to matz (Yukihiro Matsumoto)
=begin
I see no reason to have String#crypt!
Having a bang method for each string method is just insane.
you need a better reason than consistency to introduce a new method.
=end
Actions
Like0
Like0Like0