Sha256: 83593c2fbb32419cd0a444591100f9d228bffa20976dc58c27702ee14ebc0cef

Contents?: true

Size: 581 Bytes

Versions: 49

Compression:

Stored size: 581 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card::Set::Star < Card::Set::Pattern::Abstract
  cattr_accessor :options
  class << self
# ~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/04_star.rb ~~

def label _name
  'All "*" cards'
end

def prototype_args _anchor
  { name: "*dummy" }
end

def pattern_applies? card
  card.cardname.star?
end

def follow_label _name
  'all "*" cards'
end


# ~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/04_star.rb ~~
  end
  register "star", (options || {})
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
card-1.20.1 tmpsets/set_pattern/103-star.rb
card-1.20.0 tmpsets/set_pattern/103-star.rb
card-1.19.6 tmpsets/set_pattern/103-star.rb
card-1.19.5 tmpsets/set_pattern/103-star.rb
card-1.19.4 tmpsets/set_pattern/103-star.rb
card-1.19.3 tmpsets/set_pattern/103-star.rb
card-1.19.2 tmpsets/set_pattern/103-star.rb
card-1.19.1 tmpsets/set_pattern/103-star.rb
card-1.19.0 tmpsets/set_pattern/103-star.rb