Sha256: 4f41b73b98a75199a61cc18da580890bc7a21b4127bfd87e2ae31f4868c232f2

Contents?: true

Size: 555 Bytes

Versions: 9

Compression:

Stored size: 555 Bytes

Contents

# -*- encoding : utf-8 -*-
# Set Pattern: Rule
#
class Card::Set::Rule < Card::Set::Pattern::Abstract
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

9 entries across 9 versions & 1 rubygems

Version Path
card-1.99.4 tmpsets/set_pattern/105-rule.rb
card-1.99.3 tmpsets/set_pattern/105-rule.rb
card-1.99.2 tmpsets/set_pattern/105-rule.rb
card-1.99.1 tmpsets/set_pattern/105-rule.rb
card-1.99.0 tmpsets/set_pattern/105-rule.rb
card-1.98.3 tmpsets/set_pattern/105-rule.rb
card-1.98.2 tmpsets/set_pattern/105-rule.rb
card-1.98.1 tmpsets/set_pattern/105-rule.rb
card-1.98.0 tmpsets/set_pattern/105-rule.rb