Module: Listify::Helper
- Defined in:
- lib/listify.rb
Instance Method Summary collapse
-
#listify(collection, options = {}) ⇒ Object
Generate an HTML list from a ruby collection.
Instance Method Details
#listify(collection, options = {}) ⇒ Object
Generate an HTML list from a ruby collection
33 34 35 36 37 |
# File 'lib/listify.rb', line 33 def listify(collection, = {}) content_tag :ul, do list_items_for(collection) end end |