Module: Representable::Coercion

Defined in:
lib/representable/coercion.rb

Defined Under Namespace

Modules: ClassMethods Classes: Coercer

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


18
19
20
21
22
23
# File 'lib/representable/coercion.rb', line 18

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