Module: Card::Set::Self::Cardtype::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod010-rules/self/cardtype.rb
Instance Method Summary collapse
Instance Method Details
#view: grouped_list ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'platypus/tmp/set/gem-defaults/mod010-rules/self/cardtype.rb', line 9 view :grouped_list do All::CardtypeGroups::GROUP.keys.map do |group| type_list = group == "Custom" ? custom_types : All::CardtypeGroups::GROUP[group] next if type_list.empty? [wrap_with(:h5, group), wrap_with(:p, listing(type_list))] end.flatten.join "\n" end |