Module: Card::Set::Abstract::ModAssets::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod018-assets/abstract/mod_assets.rb
Instance Method Summary collapse
Instance Method Details
#map_remote_items(&block) ⇒ Object
174 175 176 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/mod_assets.rb', line 174 def map_remote_items &block card.group_remote_card.map_items(&block) end |
#view: core ⇒ Object
178 179 180 181 182 183 184 185 186 187 188 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/mod_assets.rb', line 178 view :core do groups = [] urls = card.group_remote_card.urls groups << ["group: remote", urls] if urls.present? card.item_cards.map do |item| groups << [item.cardname.tag, item.input_item_cards.map(&:name)] end haml :group_list, groups: groups end |