Method: Representable::Binding#representer_module_for

Defined in:
lib/representable/binding.rb

#representer_module_for(object, *args) ⇒ Object

DISCUSS: do we really need that?

1.38      0.104     0.021     0.000     0.083    40001   Representable::Binding#representer_module_for
1.13      0.044     0.017     0.000     0.027    40001   Representable::Binding#representer_module_for (with memoize).


111
112
113
114
# File 'lib/representable/binding.rb', line 111

def representer_module_for(object, *args)
  # TODO: cache this!
  evaluate_option(:extend, object) # TODO: pass args? do we actually have args at the time this is called (compile-time)?
end