Module: MonkeyCamels::Humps
- Defined in:
- lib/attribute_struct/monkey_camels.rb
Instance Method Summary collapse
-
#_camel? ⇒ TrueClass, FalseClass
Camelized.
-
#_hump ⇒ self
Enable camelizing.
-
#_no_hump ⇒ self
Disable camelizing.
Instance Method Details
#_camel? ⇒ TrueClass, FalseClass
Returns camelized.
36 37 38 |
# File 'lib/attribute_struct/monkey_camels.rb', line 36 def _camel? !@__not_camel end |
#_hump ⇒ self
Returns enable camelizing.
47 48 49 50 |
# File 'lib/attribute_struct/monkey_camels.rb', line 47 def _hump @__not_camel = false self end |
#_no_hump ⇒ self
Returns disable camelizing.
41 42 43 44 |
# File 'lib/attribute_struct/monkey_camels.rb', line 41 def _no_hump @__not_camel = true self end |