Module: Representable::ModuleExtensions

Defined in:
lib/representable.rb

Instance Method Summary collapse

Instance Method Details

#extended(object) ⇒ Object

Copies the representable_attrs to the extended object.



132
133
134
135
# File 'lib/representable.rb', line 132

def extended(object)
  super
  object.representable_attrs=(representable_attrs)
end