Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/babygitter/addendums/ruby_addendum.rb
Instance Method Summary collapse
-
#underscore ⇒ Object
Convience method for underscoring whitespace in a string.
Instance Method Details
#underscore ⇒ Object
Convience method for underscoring whitespace in a string
13 14 15 |
# File 'lib/babygitter/addendums/ruby_addendum.rb', line 13 def underscore gsub(/ /, "_") end |