Class: Card::Set::Right

Inherits:
Pattern::Abstract
  • Object
show all
Defined in:
tmpsets/set_pattern/105-right.rb,
tmpsets/set/mod013-email/right/cc.rb,
tmpsets/set/mod013-email/right/to.rb,
tmpsets/set/mod013-email/right/bcc.rb,
tmpsets/set/mod013-email/right/from.rb,
tmpsets/set/mod013-email/right/follow.rb,
tmpsets/set/mod017-account/right/salt.rb,
tmpsets/set/mod012-settings/right/help.rb,
tmpsets/set/mod012-settings/right/read.rb,
tmpsets/set/mod017-account/right/email.rb,
tmpsets/set/mod017-account/right/token.rb,
tmpsets/set/mod012-settings/right/style.rb,
tmpsets/set/mod017-account/right/status.rb,
tmpsets/set/mod012-settings/right/create.rb,
tmpsets/set/mod012-settings/right/delete.rb,
tmpsets/set/mod012-settings/right/script.rb,
tmpsets/set/mod012-settings/right/update.rb,
tmpsets/set/mod013-email/right/followers.rb,
tmpsets/set/mod013-email/right/following.rb,
tmpsets/set/mod014-developer/right/debug.rb,
tmpsets/set/mod017-account/right/account.rb,
tmpsets/set/mod012-settings/right/comment.rb,
tmpsets/set/mod012-settings/right/default.rb,
tmpsets/set/mod017-account/right/password.rb,
tmpsets/set/mod012-settings/right/add_help.rb,
tmpsets/set/mod012-settings/right/structure.rb,
tmpsets/set/mod013-email/right/html_message.rb,
tmpsets/set/mod013-email/right/follow_fields.rb,
tmpsets/set/mod016-standard/right/discussion.rb,
tmpsets/set/mod016-standard/right/when_created.rb,
tmpsets/set/mod011-machines/right/machine_cache.rb,
tmpsets/set/mod011-machines/right/machine_input.rb,
tmpsets/set/mod009-solid_cache/right/solid_cache.rb,
tmpsets/set/mod011-machines/right/machine_output.rb,
tmpsets/set/mod016-standard/right/when_last_edited.rb

Defined Under Namespace

Modules: Account, AddHelp, Bcc, Cc, Comment, Create, Debug, 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

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