Sha256: 312873144ebdeea49e632946878b0db6200c259cfaf237be7b146a55a4d3b4c5

Contents?: true

Size: 585 Bytes

Versions: 7

Compression:

Stored size: 585 Bytes

Contents

# -*- encoding : utf-8 -*-
# Set Pattern: Rule
#
class Card::Set::Rule < Card::Set::Pattern::Base
extend Card::Set::Pattern::Helper
cattr_accessor :options
class << self
@@options = { junction_only: true }

def label _name
  "All rule cards"
end

def short_label _name
  "all rule cards"
end

def prototype_args _anchor
  { name: "*all+*create" }
end

def pattern_applies? card
  card.is_rule?
end
              end
              register "Rule".underscore.to_sym, (options || {})
            end

# ~~ generated from /Users/ethan/dev/decko/gem/card/mod/core/set_pattern/06_rule.rb ~~

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.101.5 tmpsets/set_pattern/105-rule.rb
card-1.101.4 tmpsets/set_pattern/105-rule.rb
card-1.101.3 tmpsets/set_pattern/105-rule.rb
card-1.101.2 tmpsets/set_pattern/105-rule.rb
card-1.101.1 tmpsets/set_pattern/105-rule.rb
card-1.101.0 tmpsets/set_pattern/105-rule.rb
card-1.100.0 tmpsets/set_pattern/105-rule.rb