Module: CastingAttrAccessor

Defined in:
lib/casting_attr_accessor.rb,
lib/casting_attr_accessor/parser.rb,
lib/casting_attr_accessor/parser/ids.rb,
lib/casting_attr_accessor/parser/base.rb,
lib/casting_attr_accessor/parser/date.rb,
lib/casting_attr_accessor/parser/enum.rb,
lib/casting_attr_accessor/parser/array.rb,
lib/casting_attr_accessor/parser/flags.rb,
lib/casting_attr_accessor/parser/float.rb,
lib/casting_attr_accessor/parser/fixnum.rb,
lib/casting_attr_accessor/parser/string.rb,
lib/casting_attr_accessor/parser/symbol.rb,
lib/casting_attr_accessor/parser/boolean.rb,
lib/casting_attr_accessor/parser/date_time.rb

Defined Under Namespace

Modules: ClassMethods, Parser

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



6
7
8
# File 'lib/casting_attr_accessor.rb', line 6

def self.extended(base)
  base.extend ClassMethods
end

.included(base) ⇒ Object



2
3
4
# File 'lib/casting_attr_accessor.rb', line 2

def self.included(base)
  base.send :extend, ClassMethods
end