Sha256: 1dfd2e6c4c643d57051cb74cf12493a13d45178f0dcb40c208b37c0771d39e37
Contents?: true
Size: 558 Bytes
Versions: 5
Compression:
Stored size: 558 Bytes
Contents
# -*- encoding : utf-8 -*- # Set Pattern: Self # class Card::Set::Self < Card::Set::Pattern::Base cattr_accessor :options class << self def label name %(The card "#{name}") end def short_label name name end def generic_label "a single card" end def prototype_args anchor { name: anchor } end def anchor_name card card.name end def anchor_id card card.id end end register "Self".underscore.to_sym, (options || {}) end # ~~ generated from /Users/philipp/dev/decko/gem/card/mod/core/set_pattern/09_self.rb ~~
Version data entries
5 entries across 5 versions & 1 rubygems