Module: Card::Set::Abstract::AssetFile::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_file.rb
Instance Method Summary collapse
Instance Method Details
#short_content ⇒ Object
68 69 70 71 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_file.rb', line 68 def short_content icon_tag(:warning, class: "text-muted pe-2") + wrap_with(:span, "asset file", class: "text-muted") end |
#view: javascript_include_tag ⇒ Object
62 63 64 65 66 |
# File 'platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_file.rb', line 62 view :javascript_include_tag, cache: :never do card.existing_source_paths.map do |path| javascript_include_tag(path) end.join "\n" end |