Module: Card::Set::All::Item::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod002-collection/all/item.rb
Instance Method Summary collapse
Instance Method Details
#view: count ⇒ Object
179 180 181 |
# File 'platypus/tmp/set/gem-defaults/mod002-collection/all/item.rb', line 179 view :count do number_with_delimiter try(:count) end |
#wrap_item(rendered, item_view) ⇒ Object
183 184 185 |
# File 'platypus/tmp/set/gem-defaults/mod002-collection/all/item.rb', line 183 def wrap_item rendered, item_view %(<div class="item-#{item_view}">#{rendered}</div>) end |