Module: Card::Set::Type::List::HtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod009-card-mod-list/type/list.rb,
card/tmpsets/set/mod008-card-mod-list/type/list.rb

Instance Method Summary collapse

Instance Method Details

#view: view_listObject



17
18
19
20
21
22
# File 'card/tmpsets/set/mod009-card-mod-list/type/list.rb', line 17

view :view_list do
  %i[info_bar bar box closed titled labeled].map do |view|
    voo.items[:view] = view
    wrap_with :p, [(:h3, "#{view} items"), render_content]
  end
end