Class: Card::Set::AllPlus

Inherits:
Pattern::Abstract show all
Defined in:
tmpsets/set_pattern/101-all_plus.rb

Overview

Set Pattern: AllPlus

Constant Summary collapse

@@options =
{ junction_only: true }

Class Method Summary collapse

Methods inherited from Pattern::Abstract

#anchor_codenames, #anchor_parts, #anchor_parts_count, anchorless?, #find_anchor_id, #format_module_list, #initialize, #inspect, junction_only?, #lookup_module_list, module_key, #module_key, #module_list, new, pattern, #pattern, pattern_applies?, register, #rule_set_key, #safe_key, #to_s

Constructor Details

This class inherits a constructor from Card::Set::Pattern::Abstract

Class Method Details

.label(_name) ⇒ Object



9
10
11
# File 'tmpsets/set_pattern/101-all_plus.rb', line 9

def label _name
  'All "+" cards'
end

.prototype_args(_anchor) ⇒ Object



17
18
19
# File 'tmpsets/set_pattern/101-all_plus.rb', line 17

def prototype_args _anchor
  { name: "+" }
end

.short_label(_name) ⇒ Object



13
14
15
# File 'tmpsets/set_pattern/101-all_plus.rb', line 13

def short_label _name
  'all "+" cards'
end