Class: SimpleRepresenter::Computed
- Defined in:
- lib/simple_representer/computed.rb
Instance Attribute Summary
Attributes inherited from Field
Instance Method Summary collapse
Methods inherited from Field
Constructor Details
This class inherits a constructor from SimpleRepresenter::Field
Instance Method Details
#process(representer) ⇒ Object
7 8 9 |
# File 'lib/simple_representer/computed.rb', line 7 def process(representer) representer.public_send(field) end |