Sha256: 9f43ebd8deee0129aced6a02efb89f361acf86bd344e67897de33432221b27c8

Contents?: true

Size: 588 Bytes

Versions: 9

Compression:

Stored size: 588 Bytes

Contents

# -*- encoding : utf-8 -*-
# Set Pattern: Right
#
class Card::Set::Right < Card::Set::Pattern::Abstract
cattr_accessor :options
class << self
@@options = {
  junction_only: true,
  assigns_type: true
}

def label name
  %(All "+#{name}" cards)
end

def short_label name
  %(all "+#{name}s")
end

def prototype_args anchor
  { name: "*dummy+#{anchor}" }
end

def anchor_name card
  card.name.tag
end
              end
              register "Right".underscore.to_sym, (options || {})
            end

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

Version data entries

9 entries across 9 versions & 1 rubygems

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