Module: Card::Set::All::Html::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod004-format/all/html.rb
Instance Method Summary collapse
-
#default_item_view ⇒ Object
-
#default_nest_view ⇒ Object
-
#view: type ⇒ Object
-
#view: type_info ⇒ Object
Instance Method Details
#default_item_view ⇒ Object
28 29 30 |
# File 'platypus/tmp/set/gem-defaults/mod004-format/all/html.rb', line 28 def default_item_view :bar end |
#default_nest_view ⇒ Object
24 25 26 |
# File 'platypus/tmp/set/gem-defaults/mod004-format/all/html.rb', line 24 def default_nest_view Cardio.config.default_html_view end |
#view: type ⇒ Object
12 13 14 |
# File 'platypus/tmp/set/gem-defaults/mod004-format/all/html.rb', line 12 view :type, unknown: true do link_to_card card.type_card, nil, class: "cardtype" end |
#view: type_info ⇒ Object
16 17 18 19 20 21 22 |
# File 'platypus/tmp/set/gem-defaults/mod004-format/all/html.rb', line 16 view :type_info do return unless card.type_code != :basic wrap_with :span, class: "type-info float-end" do link_to_card card.type_name, nil, class: "navbar-link" end end |