Sha256: 585d9f05a784e2053b591bc5f2109f9fd2f79d815fe119be105c94ead6258e86

Contents?: true

Size: 596 Bytes

Versions: 7

Compression:

Stored size: 596 Bytes

Contents

# -*- encoding : utf-8 -*-
# Set Pattern: Self
#
class Card::Set::Self < Card::Set::Pattern::Base
extend Card::Set::Pattern::Helper
cattr_accessor :options
class << self
def label name
  %(The card "#{name}")
end

def short_label name
  name
end

def generic_label
  "a single card"
end

def prototype_args anchor
  { name: anchor }
end

def anchor_name card
  card.name
end

def anchor_id card
  card.id
end
              end
              register "Self".underscore.to_sym, (options || {})
            end

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

Version data entries

7 entries across 7 versions & 1 rubygems

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