Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/ext/string.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#to_underscore_sym ⇒ Object
2 3 4 |
# File 'lib/ext/string.rb', line 2 def to_underscore_sym self.titleize.gsub(/\s+/, '').underscore.to_sym end |