Class: Card::StarSet
- Inherits:
-
SetPattern
- Object
- SetPattern
- Card::StarSet
- Defined in:
- tmpsets/set_pattern/103-star.rb
Class Method Summary collapse
- .follow_label(name) ⇒ Object
-
.label(name) ⇒ Object
~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set_pattern/04_star.rb ~~~~~~~~~~~.
- .pattern_applies?(card) ⇒ Boolean
- .prototype_args(anchor) ⇒ Object
Methods inherited from SetPattern
#anchor_codenames, anchorless?, card_keys, find, #format_module_list, #initialize, #inspect, junction_only?, #lookup_module_list, #module_key, #module_list, new, pattern, #pattern, register, #rule_set_key, #safe_key, #to_s, write_tmp_file
Constructor Details
This class inherits a constructor from Card::SetPattern
Class Method Details
.follow_label(name) ⇒ Object
19 20 21 |
# File 'tmpsets/set_pattern/103-star.rb', line 19 def follow_label name 'all "*" cards' end |
.label(name) ⇒ Object
~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/01_core/set_pattern/04_star.rb ~~~~~~~~~~~
7 8 9 |
# File 'tmpsets/set_pattern/103-star.rb', line 7 def label name 'All "*" cards' end |
.pattern_applies?(card) ⇒ Boolean
15 16 17 |
# File 'tmpsets/set_pattern/103-star.rb', line 15 def pattern_applies? card card.cardname.star? end |
.prototype_args(anchor) ⇒ Object
11 12 13 |
# File 'tmpsets/set_pattern/103-star.rb', line 11 def prototype_args anchor { name: '*dummy' } end |