Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/aqua/object/initializers.rb,
lib/aqua/support/string_extensions.rb
Instance Method Summary collapse
- #classify ⇒ Object
- #constantize ⇒ Object
- #from_aqua(path = '') ⇒ Object
- #humanize ⇒ Object
- #to_aqua(path = '') ⇒ Object
- #underscore ⇒ Object
Instance Method Details
#classify ⇒ Object
117 118 119 |
# File 'lib/aqua/support/string_extensions.rb', line 117 def classify Extlib::Inflection.classify( self ) end |
#constantize ⇒ Object
105 106 107 |
# File 'lib/aqua/support/string_extensions.rb', line 105 def constantize Extlib::Inflection.constantize( self ) end |
#from_aqua(path = '') ⇒ Object
61 62 63 |
# File 'lib/aqua/object/initializers.rb', line 61 def from_aqua( path='') self end |
#humanize ⇒ Object
109 110 111 |
# File 'lib/aqua/support/string_extensions.rb', line 109 def humanize Extlib::Inflection.humanize( self ) end |
#to_aqua(path = '') ⇒ Object
65 66 67 |
# File 'lib/aqua/object/initializers.rb', line 65 def to_aqua( path='' ) Aqua::Translator::Rat.new( self ) end |
#underscore ⇒ Object
113 114 115 |
# File 'lib/aqua/support/string_extensions.rb', line 113 def underscore Extlib::Inflection.underscore( self ) end |