Sha256: 67211031d73af892b223e819ad95ce953f777d9302375bbebf9e237902188d29

Contents?: true

Size: 618 Bytes

Versions: 21

Compression:

Stored size: 618 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card::SelfSet < Card::SetPattern
  cattr_accessor :options
  class << self
# ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set_pattern/08_self.rb ~~~~~~~~~~~

def label name
  %{The card "#{name}"}
end

def prototype_args anchor
  { name: anchor }
end

def anchor_name card
  card.name
end

def anchor_id card
  card.id
end

def follow_label name
  name
end


# ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set_pattern/08_self.rb ~~~~~~~~~~~
  end
  register "self", (options || {})
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
card-1.18.6 tmpsets/set_pattern/107-self.rb
card-1.18.5 tmpsets/set_pattern/107-self.rb
card-1.18.4 tmpsets/set_pattern/107-self.rb
card-1.18.3 tmpsets/set_pattern/107-self.rb
card-1.18.2 tmpsets/set_pattern/107-self.rb
card-1.18.1 tmpsets/set_pattern/107-self.rb
card-1.18.0 tmpsets/set_pattern/107-self.rb
card-1.17.4 tmpsets/set_pattern/107-self.rb
card-1.17.3 tmpsets/set_pattern/107-self.rb
card-1.17.2 tmpsets/set_pattern/107-self.rb
card-1.17.1 tmpsets/set_pattern/107-self.rb
card-1.17.0 tmpsets/set_pattern/107-self.rb
card-1.16.15 tmpsets/set_pattern/107-self.rb
card-1.16.14 tmpsets/set_pattern/107-self.rb
card-1.16.13 tmpsets/set_pattern/107-self.rb
card-1.16.12 tmpsets/set_pattern/107-self.rb
card-1.16.11 tmpsets/set_pattern/107-self.rb
card-1.16.10 tmpsets/set_pattern/107-self.rb
card-1.16.9 tmpsets/set_pattern/107-self.rb
card-1.16.8 tmpsets/set_pattern/107-self.rb