Module: Cell::Collection::Call
- Included in:
- Cell::Collection
- Defined in:
- lib/cell/collection.rb
Instance Method Summary collapse
Instance Method Details
#call(state = :show) ⇒ Object
18 19 20 |
# File 'lib/cell/collection.rb', line 18 def call(state=:show) join(collection_join) { |cell, i| cell.(method || state) } end |