Sha256: bd77400caad8a94effa5328e5cd448a7776d4d71ec8cec2b0d4ff882c22f2b93

Contents?: true

Size: 663 Bytes

Versions: 7

Compression:

Stored size: 663 Bytes

Contents

# -*- encoding : utf-8 -*-
# Set Pattern: Right
#
class Card::Set::Right < Card::Set::Pattern::Base
extend Card::Set::Pattern::Helper
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 generic_label
  "given field cards"
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

7 entries across 7 versions & 1 rubygems

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