Class: Btspm::Presenters::EnumPresenter
- Inherits:
-
ScalarPresenter
- Object
- SimpleDelegator
- ScalarPresenter
- Btspm::Presenters::EnumPresenter
- Includes:
- Enumerable
- Defined in:
- lib/btspm/presenters.rb
Instance Method Summary collapse
Methods inherited from ScalarPresenter
Constructor Details
This class inherits a constructor from Btspm::Presenters::ScalarPresenter
Instance Method Details
#each ⇒ Object
78 79 80 81 82 |
# File 'lib/btspm/presenters.rb', line 78 def each data_object.each do |datum| yield self.class.parent.present(datum, h, @original_locals) end end |