Module: MonkeyCamels::Humps

Defined in:
lib/attribute_struct/monkey_camels.rb

Instance Method Summary collapse

Instance Method Details

#_camel?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/attribute_struct/monkey_camels.rb', line 29

def _camel?
  !@__not_camel
end

#_humpObject



38
39
40
41
# File 'lib/attribute_struct/monkey_camels.rb', line 38

def _hump
  @__not_camel = false
  self
end

#_no_humpObject



33
34
35
36
# File 'lib/attribute_struct/monkey_camels.rb', line 33

def _no_hump
  @__not_camel = true
  self
end