Class: Card::Set::Right
- Inherits:
-
Pattern::Abstract
- Object
- Pattern::Abstract
- Card::Set::Right
- Defined in:
- tmpsets/set_pattern/105-right.rb,
tmpsets/set/mod012-email/right/cc.rb,
tmpsets/set/mod012-email/right/to.rb,
tmpsets/set/mod012-email/right/bcc.rb,
tmpsets/set/mod012-email/right/from.rb,
tmpsets/set/mod012-email/right/follow.rb,
tmpsets/set/mod017-account/right/salt.rb,
tmpsets/set/mod011-settings/right/help.rb,
tmpsets/set/mod011-settings/right/read.rb,
tmpsets/set/mod017-account/right/email.rb,
tmpsets/set/mod017-account/right/token.rb,
tmpsets/set/mod011-settings/right/style.rb,
tmpsets/set/mod017-account/right/status.rb,
tmpsets/set/mod011-settings/right/create.rb,
tmpsets/set/mod011-settings/right/delete.rb,
tmpsets/set/mod011-settings/right/script.rb,
tmpsets/set/mod011-settings/right/update.rb,
tmpsets/set/mod012-email/right/followers.rb,
tmpsets/set/mod012-email/right/following.rb,
tmpsets/set/mod017-account/right/account.rb,
tmpsets/set/mod011-settings/right/comment.rb,
tmpsets/set/mod011-settings/right/default.rb,
tmpsets/set/mod017-account/right/password.rb,
tmpsets/set/mod011-settings/right/add_help.rb,
tmpsets/set/mod011-settings/right/structure.rb,
tmpsets/set/mod012-email/right/html_message.rb,
tmpsets/set/mod012-email/right/follow_fields.rb,
tmpsets/set/mod016-standard/right/discussion.rb,
tmpsets/set/mod016-standard/right/when_created.rb,
tmpsets/set/mod010-machines/right/machine_cache.rb,
tmpsets/set/mod010-machines/right/machine_input.rb,
tmpsets/set/mod008-solid_cache/right/solid_cache.rb,
tmpsets/set/mod010-machines/right/machine_output.rb,
tmpsets/set/mod016-standard/right/when_last_edited.rb
Defined Under Namespace
Modules: Account, AddHelp, Bcc, Cc, Comment, Create, Default, Delete, Discussion, Email, Follow, FollowFields, Followers, Following, From, Help, HtmlMessage, MachineCache, MachineInput, MachineOutput, Password, Read, Salt, Script, SolidCache, Status, Structure, Style, To, Token, Update, WhenCreated, WhenLastEdited
Constant Summary collapse
- @@options =
~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/06_right.rb ~~
{ junction_only: true, assigns_type: true }
Class Method Summary collapse
- .anchor_name(card) ⇒ Object
- .follow_label(name) ⇒ Object
- .label(name) ⇒ Object
- .prototype_args(anchor) ⇒ Object
Methods inherited from Pattern::Abstract
#anchor_codenames, anchorless?, #format_module_list, #initialize, #inspect, junction_only?, #lookup_module_list, #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
.anchor_name(card) ⇒ Object
20 21 22 |
# File 'tmpsets/set_pattern/105-right.rb', line 20 def anchor_name card card.cardname.tag end |
.follow_label(name) ⇒ Object
24 25 26 |
# File 'tmpsets/set_pattern/105-right.rb', line 24 def follow_label name %(all "+#{name}s") end |
.label(name) ⇒ Object
12 13 14 |
# File 'tmpsets/set_pattern/105-right.rb', line 12 def label name %(All "+#{name}" cards) end |
.prototype_args(anchor) ⇒ Object
16 17 18 |
# File 'tmpsets/set_pattern/105-right.rb', line 16 def prototype_args anchor { name: "*dummy+#{anchor}" } end |