Sha256: 3f7ae39e91198366dd37190f37d7eb24c18cbbbc067a78154c093c5707544df5
Contents?: true
Size: 662 Bytes
Versions: 49
Compression:
Stored size: 662 Bytes
Contents
# -*- encoding : utf-8 -*- class Card::Set::Type < Card::Set::Pattern::Abstract cattr_accessor :options class << self # ~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/03_type.rb ~~ def label name %(All "#{name}" cards) end def prototype_args anchor { type: anchor } end def pattern_applies? card !!card.type_id end def anchor_name card card.type_name end def anchor_id card card.type_id end def follow_label name %(all "#{name}s") end # ~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/03_type.rb ~~ end register "type", (options || {}) end
Version data entries
49 entries across 49 versions & 1 rubygems