Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/trimmy.rb
Instance Method Summary collapse
Instance Method Details
#trim ⇒ Object
4 5 6 |
# File 'lib/trimmy.rb', line 4 def trim self.gsub(/\s+/, "") end |