Module: Representable::Binding::Prepare

Included in:
Representable::Binding
Defined in:
lib/representable/binding.rb

Instance Method Summary collapse

Instance Method Details

#representer_module_for(object, *args) ⇒ Object



104
105
106
# File 'lib/representable/binding.rb', line 104

def representer_module_for(object, *args)
  call_proc_for(representer_module, object)   # TODO: how to pass additional data to the computing block?`
end