Sha256: d7bbf1d4a2915f43b8ee1ef25e8c0b32cc9ce9e3f5dfd419f7422dc6eac45609

Contents?: true

Size: 272 Bytes

Versions: 17

Compression:

Stored size: 272 Bytes

Contents

def label name
  %{All "#{name}" cards}
end

def prototype_args anchor
  { :type=>anchor }
end

def pattern_applies? card
  !!card.type_id
end

def anchor_name card
  card.type_name
end

def anchor_id card
  card.type_id
end

def follow_label name
  %{all "#{name}s"}
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-1.16.6 mod/01_core/set_pattern/03_type.rb
card-1.16.5 mod/01_core/set_pattern/03_type.rb
card-1.16.4 mod/01_core/set_pattern/03_type.rb
card-1.16.3 mod/01_core/set_pattern/03_type.rb
card-1.16.2 mod/01_core/set_pattern/03_type.rb
card-1.16.1 mod/01_core/set_pattern/03_type.rb
card-1.16.0 mod/01_core/set_pattern/03_type.rb
card-1.15.7 mod/01_core/set_pattern/03_type.rb
card-1.15.6 mod/01_core/set_pattern/03_type.rb
card-1.15.5 mod/01_core/set_pattern/03_type.rb
card-1.15.4 mod/01_core/set_pattern/03_type.rb
card-1.15.3 mod/01_core/set_pattern/03_type.rb
card-1.15.2 mod/01_core/set_pattern/03_type.rb
card-1.15.1 mod/01_core/set_pattern/03_type.rb
card-1.15.0 mod/01_core/set_pattern/03_type.rb
card-1.15.pre2 mod/01_core/set_pattern/03_type.rb
card-1.15.pre mod/01_core/set_pattern/03_type.rb