Class: CamelString

Inherits:
String
  • Object
show all
Defined in:
lib/attribute_struct/monkey_camels.rb

Overview

Specialized type

Instance Method Summary collapse

Constructor Details

#initialize(val = nil) ⇒ CamelString

Returns a new instance of CamelString.



53
54
55
56
57
58
# File 'lib/attribute_struct/monkey_camels.rb', line 53

def initialize(val=nil)
  super
  if(val.respond_to?(:_camel?))
    _no_hump unless val._camel?
  end
end