Module: Card::Set::TypePlusRight::Mod::Style::HtmlFormat

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/mod/style.rb

Instance Method Summary collapse

Instance Method Details

#view: remote_include_tagsObject



33
34
35
36
37
38
39
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/mod/style.rb', line 33

view :remote_include_tags do
  map_remote_items do |tag_args|
    tag "link",
        href: tag_args.delete("src"),
        media: "all", rel: "stylesheet", type: "text/css"
  end
end

#view: stylesheet_include_tagObject



27
28
29
30
31
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/mod/style.rb', line 27

view :stylesheet_include_tag do
  card.item_cards.map do |icard|
    nest icard, view: :stylesheet_include_tag
  end.join("\n")
end