Class: Card::Set::Rstar
- Inherits:
-
Pattern::Abstract
- Object
- Pattern::Abstract
- Card::Set::Rstar
show all
- Defined in:
- tmpsets/set_pattern/104-rstar.rb,
tmpsets/set/mod016-standard/rstar/rules.rb,
tmpsets/set/mod016-standard/rstar/rules_editor.rb
Defined Under Namespace
Modules: Rules, RulesEditor
Constant Summary
collapse
- @@options =
~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/05_rstar.rb ~~
{ junction_only: true }
Class Method Summary
collapse
Class Method Details
.follow_label(_name) ⇒ Object
21
22
23
|
# File 'tmpsets/set_pattern/104-rstar.rb', line 21
def follow_label _name
'all "+*" cards'
end
|
.label(_name) ⇒ Object
9
10
11
|
# File 'tmpsets/set_pattern/104-rstar.rb', line 9
def label _name
'All "+*" cards'
end
|
.pattern_applies?(card) ⇒ Boolean
17
18
19
|
# File 'tmpsets/set_pattern/104-rstar.rb', line 17
def pattern_applies? card
card.cardname.rstar?
end
|
.prototype_args(_anchor) ⇒ Object
13
14
15
|
# File 'tmpsets/set_pattern/104-rstar.rb', line 13
def prototype_args _anchor
{ name: "*dummy+*dummy" }
end
|