Sha256: 1dfd2e6c4c643d57051cb74cf12493a13d45178f0dcb40c208b37c0771d39e37

Contents?: true

Size: 558 Bytes

Versions: 5

Compression:

Stored size: 558 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/philipp/dev/decko/gem/card/mod/core/set_pattern/09_self.rb ~~

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.103.4 tmpsets/set_pattern/108-self.rb
card-1.103.3 tmpsets/set_pattern/108-self.rb
card-1.103.2 tmpsets/set_pattern/108-self.rb
card-1.103.1 tmpsets/set_pattern/108-self.rb
card-1.103.0 tmpsets/set_pattern/108-self.rb