Module: SomethingAndNothing::ViewHelper
- Defined in:
- lib/something_and_nothing/view_helper.rb
Instance Method Summary collapse
- #display_for(array) {|ListDisplayHelper.new(array)| ... } ⇒ Object (also: #display_content_for)
Instance Method Details
#display_for(array) {|ListDisplayHelper.new(array)| ... } ⇒ Object Also known as: display_content_for
3 4 5 |
# File 'lib/something_and_nothing/view_helper.rb', line 3 def display_for(array) yield ListDisplayHelper.new(array) if block_given? end |