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.99.6 tmpsets/set_pattern/103-star.rb
card-1.99.5 tmpsets/set_pattern/103-star.rb
card-1.97.0.1 tmpsets/set_pattern/103-star.rb
card-1.97.0 tmpsets/set_pattern/103-star.rb
card-1.96.8 tmpsets/set_pattern/103-star.rb
card-1.96.7 tmpsets/set_pattern/103-star.rb
card-1.96.6 tmpsets/set_pattern/103-star.rb
card-1.96.5 tmpsets/set_pattern/103-star.rb
card-1.96.4 tmpsets/set_pattern/103-star.rb
card-1.96.3 tmpsets/set_pattern/103-star.rb
card-1.96.2 tmpsets/set_pattern/103-star.rb
card-1.96.1 tmpsets/set_pattern/103-star.rb
card-1.96.0 tmpsets/set_pattern/103-star.rb
card-1.95.3 tmpsets/set_pattern/103-star.rb
card-1.95.2 tmpsets/set_pattern/103-star.rb
card-1.95.1 tmpsets/set_pattern/103-star.rb
card-1.95.0 tmpsets/set_pattern/103-star.rb
card-1.94.1 tmpsets/set_pattern/103-star.rb
card-1.94.0 tmpsets/set_pattern/103-star.rb
card-1.93.13 tmpsets/set_pattern/103-star.rb