Method: Representable::Mapper::Methods#initialize

Defined in:
lib/representable/mapper.rb

#initialize(bindings, represented, options) ⇒ Object

TODO: get rid of represented dependency.



6
7
8
9
# File 'lib/representable/mapper.rb', line 6

def initialize(bindings, represented, options) # TODO: get rid of represented dependency.
  @represented  = represented # the (extended) model.
  @bindings     = bindings
end