Module: Representable::Coercion

Defined in:
lib/representable/coercion.rb

Defined Under Namespace

Modules: ClassMethods, Types Classes: Coercer

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



20
21
22
23
24
25
# File 'lib/representable/coercion.rb', line 20

def self.included(base)
  base.class_eval do
    extend ClassMethods
    register_feature Coercion
  end
end