Sha256: 4929025b882f05a6f8720f3f88626064eedc1f298fcc4ba4217916ad90367986

Contents?: true

Size: 271 Bytes

Versions: 14

Compression:

Stored size: 271 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

14 entries across 14 versions & 1 rubygems

Version Path
card-1.17.4 mod/01_core/set_pattern/03_type.rb
card-1.17.3 mod/01_core/set_pattern/03_type.rb
card-1.17.2 mod/01_core/set_pattern/03_type.rb
card-1.17.1 mod/01_core/set_pattern/03_type.rb
card-1.17.0 mod/01_core/set_pattern/03_type.rb
card-1.16.15 mod/01_core/set_pattern/03_type.rb
card-1.16.14 mod/01_core/set_pattern/03_type.rb
card-1.16.13 mod/01_core/set_pattern/03_type.rb
card-1.16.12 mod/01_core/set_pattern/03_type.rb
card-1.16.11 mod/01_core/set_pattern/03_type.rb
card-1.16.10 mod/01_core/set_pattern/03_type.rb
card-1.16.9 mod/01_core/set_pattern/03_type.rb
card-1.16.8 mod/01_core/set_pattern/03_type.rb
card-1.16.7 mod/01_core/set_pattern/03_type.rb