Sha256: bf660528bc9e955280e6938e1e8c3c7be28523f5da5c4d61a5d6f94e82e8a234

Contents?: true

Size: 607 Bytes

Versions: 5

Compression:

Stored size: 607 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card::StarSet < Card::SetPattern
  cattr_accessor :options
  class << self
# ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_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/01_core/set_pattern/04_star.rb ~~~~~~~~~~~
  end
  register "star", (options || {})
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.16.6 tmpsets/set_pattern/103-star.rb
card-1.16.5 tmpsets/set_pattern/103-star.rb
card-1.16.4 tmpsets/set_pattern/103-star.rb
card-1.16.3 tmpsets/set_pattern/103-star.rb
card-1.16.2 tmpsets/set_pattern/103-star.rb