Class: Card::Set::Self

Inherits:
Pattern::Abstract
  • Object
show all
Defined in:
tmpsets/set_pattern/107-self.rb,
tmpsets/set/mod001-admin/self/admin.rb,
tmpsets/set/mod013-email/self/never.rb,
tmpsets/set/mod013-email/self/always.rb,
tmpsets/set/mod013-email/self/edited.rb,
tmpsets/set/mod013-email/self/follow.rb,
tmpsets/set/mod016-standard/self/now.rb,
tmpsets/set/mod001-admin/self/version.rb,
tmpsets/set/mod012-settings/self/help.rb,
tmpsets/set/mod012-settings/self/read.rb,
tmpsets/set/mod013-email/self/created.rb,
tmpsets/set/mod016-standard/self/foot.rb,
tmpsets/set/mod012-settings/self/input.rb,
tmpsets/set/mod012-settings/self/style.rb,
tmpsets/set/mod017-account/self/signin.rb,
tmpsets/set/mod012-settings/self/create.rb,
tmpsets/set/mod012-settings/self/delete.rb,
tmpsets/set/mod012-settings/self/layout.rb,
tmpsets/set/mod012-settings/self/script.rb,
tmpsets/set/mod012-settings/self/thanks.rb,
tmpsets/set/mod012-settings/self/update.rb,
tmpsets/set/mod016-standard/self/alerts.rb,
tmpsets/set/mod016-standard/self/navbox.rb,
tmpsets/set/mod016-standard/self/recent.rb,
tmpsets/set/mod016-standard/self/search.rb,
tmpsets/set/mod001-admin/self/admin_info.rb,
tmpsets/set/mod012-settings/self/captcha.rb,
tmpsets/set/mod012-settings/self/default.rb,
tmpsets/set/mod012-settings/self/options.rb,
tmpsets/set/mod012-settings/self/add_help.rb,
tmpsets/set/mod012-settings/self/autoname.rb,
tmpsets/set/mod015-carrierwave/self/admin.rb,
tmpsets/set/mod004-basic_formats/self/head.rb,
tmpsets/set/mod012-settings/self/on_create.rb,
tmpsets/set/mod012-settings/self/on_delete.rb,
tmpsets/set/mod012-settings/self/on_update.rb,
tmpsets/set/mod012-settings/self/structure.rb,
tmpsets/set/mod016-standard/self/codenames.rb,
tmpsets/set/mod005-pointer/self/script_mods.rb,
tmpsets/set/mod011-machines/self/script_slot.rb,
tmpsets/set/mod011-machines/self/style_cards.rb,
tmpsets/set/mod012-settings/self/accountable.rb,
tmpsets/set/mod006-ace_editor/self/script_ace.rb,
tmpsets/set/mod013-email/self/follow_defaults.rb,
tmpsets/set/mod017-account/self/account_links.rb,
tmpsets/set/mod018-bootstrap/self/script_mods.rb,
tmpsets/set/mod005-pointer/self/script_editors.rb,
tmpsets/set/mod011-machines/self/script_jquery.rb,
tmpsets/set/mod012-settings/self/follow_fields.rb,
tmpsets/set/mod012-settings/self/options_label.rb,
tmpsets/set/mod018-bootstrap/self/bootstrap_js.rb,
tmpsets/set/mod018-bootstrap/self/smartmenu_js.rb,
tmpsets/set/mod018-bootstrap/self/smartmenu_css.rb,
tmpsets/set/mod012-settings/self/recent_settings.rb,
tmpsets/set/mod011-machines/self/script_card_menu.rb,
tmpsets/set/mod018-bootstrap/self/bootstrap_cards.rb,
tmpsets/set/mod012-settings/self/default_html_view.rb,
tmpsets/set/mod012-settings/self/table_of_contents.rb,
tmpsets/set/mod018-bootstrap/self/bootswatch_shared.rb,
tmpsets/set/mod006-ace_editor/self/script_ace_config.rb,
tmpsets/set/mod005-pointer/self/script_pointer_config.rb,
tmpsets/set/mod011-machines/self/script_jquery_helper.rb,
tmpsets/set/mod004-basic_formats/self/01_head/javascript.rb,
tmpsets/set/mod011-machines/self/script_html5shiv_printshiv.rb,
tmpsets/set/mod011-machines/self/style_bootstrap_compatible.rb,
tmpsets/set/mod011-machines/self/style_jquery_ui_smoothness.rb,
tmpsets/set/mod007-prosemirror_editor/self/script_prosemirror.rb,
tmpsets/set/mod007-prosemirror_editor/self/script_prosemirror_config.rb

Defined Under Namespace

Modules: AccountLinks, Accountable, AddHelp, Admin, AdminInfo, Alerts, Always, Autoname, BootstrapCards, BootstrapJs, BootswatchShared, Captcha, Codenames, Create, Created, Default, DefaultHtmlView, Delete, Edited, Follow, FollowDefaults, FollowFields, Foot, Head, Help, Input, Layout, Navbox, Never, Now, OnCreate, OnDelete, OnUpdate, Options, OptionsLabel, Read, Recent, RecentSettings, Script, ScriptAce, ScriptAceConfig, ScriptCardMenu, ScriptEditors, ScriptHtml5shivPrintshiv, ScriptJquery, ScriptJqueryHelper, ScriptMods, ScriptPointerConfig, ScriptProsemirror, ScriptProsemirrorConfig, ScriptSlot, Search, Signin, SmartmenuCss, SmartmenuJs, Structure, Style, StyleBootstrapCompatible, StyleCards, StyleJqueryUiSmoothness, TableOfContents, Thanks, Update, Version

Class Method Summary collapse

Class Method Details

.anchor_id(card) ⇒ Object



19
20
21
# File 'tmpsets/set_pattern/107-self.rb', line 19

def anchor_id card
  card.id
end

.anchor_name(card) ⇒ Object



15
16
17
# File 'tmpsets/set_pattern/107-self.rb', line 15

def anchor_name card
  card.name
end

.follow_label(name) ⇒ Object



23
24
25
# File 'tmpsets/set_pattern/107-self.rb', line 23

def follow_label name
  name
end

.label(name) ⇒ Object

~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set_pattern/08_self.rb ~~



7
8
9
# File 'tmpsets/set_pattern/107-self.rb', line 7

def label name
  %(The card "#{name}")
end

.prototype_args(anchor) ⇒ Object



11
12
13
# File 'tmpsets/set_pattern/107-self.rb', line 11

def prototype_args anchor
  { name: anchor }
end