Sha256: fc8c0d8d94e28e67c993f7d244f9e6a3f239aad62f470473b4d4cbfd8fde81f4

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
card-1.101.7 tmpsets/set_pattern/108-self.rb
card-1.101.6 tmpsets/set_pattern/108-self.rb