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.
40 41 42 |
# File 'lib/attribute_struct/monkey_camels.rb', line 40 def _camel? !@__not_camel end |
#_hump ⇒ self
Returns enable camelizing.
51 52 53 54 |
# File 'lib/attribute_struct/monkey_camels.rb', line 51 def _hump @__not_camel = false self end |
#_no_hump ⇒ self
Returns disable camelizing.
45 46 47 48 |
# File 'lib/attribute_struct/monkey_camels.rb', line 45 def _no_hump @__not_camel = true self end |