Sha256: 15779ae4ae46c7a1ebe3cb4790a16e7adfdca5cdddb10f65395a79aa2c5ffe7c
Contents?: true
Size: 783 Bytes
Versions: 8
Compression:
Stored size: 783 Bytes
Contents
# -*- encoding : utf-8 -*- class Card; module Set; class Type # Set: All "Html" cards # module Html; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-layout/set/type/html.rb"; end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat # deprecated; here to support old "*main menu" html cards in existing decks view :navbar_links, perms: :none do wrap_with :ul, class: "navbar-nav" do item_links.map do |link| wrap_with(:li, class: "nav-item") { link } end.join "\n" end end def item_links _args={} raw(render_core).split(/[,\n]/) end end end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card-mod-layout/set/type/html.rb ~~
Version data entries
8 entries across 8 versions & 1 rubygems