Method: ActiveType::TypeCaster#initialize

Defined in:
lib/active_type/type_caster.rb

#initialize(type, native_caster) ⇒ TypeCaster

Returns a new instance of TypeCaster.



15
16
17
18
# File 'lib/active_type/type_caster.rb', line 15

def initialize(type, native_caster)
  @type = type
  @native_caster = native_caster
end