Class: Card::Set::Self

Inherits:
Pattern::Base show all
Extended by:
Pattern::Helper
Defined in:
card/tmpsets/set_pattern/108-self.rb,
card/tmpsets/set/mod001-admin/self/admin.rb,
card/tmpsets/set/mod001-admin/self/trash.rb,
card/tmpsets/set/mod002-core/self/version.rb,
card/tmpsets/set/mod001-admin/self/debugger.rb,
card/tmpsets/set/mod001-admin/self/admin_info.rb,
card/tmpsets/set/mod003-settings/self/autoname.rb,
card/tmpsets/set/mod023-card-mod-date/self/now.rb,
card/tmpsets/set/mod027-card-mod-help/self/help.rb,
card/tmpsets/set/mod027-card-mod-help/self/guide.rb,
card/tmpsets/set/mod008-card-mod-format/self/home.rb,
card/tmpsets/set/mod019-card-mod-style/self/style.rb,
card/tmpsets/set/mod030-card-mod-layout/self/foot.rb,
card/tmpsets/set/mod030-card-mod-layout/self/head.rb,
card/tmpsets/set/mod025-card-mod-follow/self/never.rb,
card/tmpsets/set/mod017-card-mod-script/self/script.rb,
card/tmpsets/set/mod025-card-mod-follow/self/always.rb,
card/tmpsets/set/mod025-card-mod-follow/self/edited.rb,
card/tmpsets/set/mod025-card-mod-follow/self/follow.rb,
card/tmpsets/set/mod030-card-mod-layout/self/alerts.rb,
card/tmpsets/set/mod030-card-mod-layout/self/layout.rb,
card/tmpsets/set/mod030-card-mod-layout/self/navbox.rb,
card/tmpsets/set/mod035-card-mod-search/self/recent.rb,
card/tmpsets/set/mod035-card-mod-search/self/search.rb,
card/tmpsets/set/mod011-card-mod-account/self/signin.rb,
card/tmpsets/set/mod018-card-mod-ace_editor/self/ace.rb,
card/tmpsets/set/mod025-card-mod-follow/self/created.rb,
card/tmpsets/set/mod030-card-mod-layout/self/sidebar.rb,
card/tmpsets/set/mod036-card-mod-rules/self/cardtype.rb,
card/tmpsets/set/mod007-card-mod-content/self/default.rb,
card/tmpsets/set/mod011-card-mod-account/self/captcha.rb,
card/tmpsets/set/mod012-card-mod-edit/self/input_type.rb,
card/tmpsets/set/mod023-card-mod-date/self/datepicker.rb,
card/tmpsets/set/mod010-card-mod-permissions/self/read.rb,
card/tmpsets/set/mod019-card-mod-style/self/style_mods.rb,
card/tmpsets/set/mod028-card-mod-integrate/self/thanks.rb,
card/tmpsets/set/mod007-card-mod-content/self/structure.rb,
card/tmpsets/set/mod014-card-mod-carrierwave/self/admin.rb,
card/tmpsets/set/mod019-card-mod-style/self/style_cards.rb,
card/tmpsets/set/mod009-card-mod-list/self/input_options.rb,
card/tmpsets/set/mod010-card-mod-permissions/self/create.rb,
card/tmpsets/set/mod010-card-mod-permissions/self/delete.rb,
card/tmpsets/set/mod010-card-mod-permissions/self/update.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_mods.rb,
card/tmpsets/set/mod036-card-mod-rules/self/script_rules.rb,
card/tmpsets/set/mod014-card-mod-carrierwave/self/favicon.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_decko.rb,
card/tmpsets/set/mod028-card-mod-integrate/self/on_create.rb,
card/tmpsets/set/mod028-card-mod-integrate/self/on_delete.rb,
card/tmpsets/set/mod028-card-mod-integrate/self/on_update.rb,
card/tmpsets/set/mod009-card-mod-list/self/content_options.rb,
card/tmpsets/set/mod014-card-mod-carrierwave/self/new_file.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_jquery.rb,
card/tmpsets/set/mod025-card-mod-follow/self/follow_fields.rb,
card/tmpsets/set/mod030-card-mod-layout/self/account_links.rb,
card/tmpsets/set/mod031-card-mod-legacy/self/csv_structure.rb,
card/tmpsets/set/mod034-card-mod-recaptcha/self/admin_info.rb,
card/tmpsets/set/mod014-card-mod-carrierwave/self/new_image.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_editors.rb,
card/tmpsets/set/mod018-card-mod-ace_editor/self/script_ace.rb,
card/tmpsets/set/mod019-card-mod-style/self/style_libraries.rb,
card/tmpsets/set/mod023-card-mod-date/self/style_datepicker.rb,
card/tmpsets/set/mod036-card-mod-rules/self/recent_settings.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/font_awesome.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/smartmenu_js.rb,
card/tmpsets/set/mod023-card-mod-date/self/script_datepicker.rb,
card/tmpsets/set/mod025-card-mod-follow/self/follow_defaults.rb,
card/tmpsets/set/mod020-card-mod-bar_and_box/self/style_media.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/smartmenu_css.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/style_select2.rb,
card/tmpsets/set/mod030-card-mod-layout/self/dropdown_divider.rb,
card/tmpsets/set/mod037-card-mod-tinymce_editor/self/tiny_mce.rb,
card/tmpsets/set/mod009-card-mod-list/self/content_option_view.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/bootstrap_core.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/material_icons.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/script_select2.rb,
card/tmpsets/set/mod031-card-mod-legacy/self/default_html_view.rb,
card/tmpsets/set/mod031-card-mod-legacy/self/table_of_contents.rb,
card/tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_proxy.rb,
card/tmpsets/set/mod017-card-mod-script/self/01_script_libraries.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/script_bootstrap.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_jquery_helper.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_pointer_config.rb,
card/tmpsets/set/mod018-card-mod-ace_editor/self/script_ace_config.rb,
card/tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_settings.rb,
card/tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_site_key.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/bootstrap_functions.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/script_load_select2.rb,
card/tmpsets/set/mod023-card-mod-date/self/script_datepicker_config.rb,
card/tmpsets/set/mod037-card-mod-tinymce_editor/self/script_tinymce.rb,
card/tmpsets/set/mod034-card-mod-recaptcha/self/recaptcha_secret_key.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/style_bootstrap_cards.rb,
card/tmpsets/set/mod019-card-mod-style/self/style_bootstrap_compatible.rb,
card/tmpsets/set/mod019-card-mod-style/self/style_jquery_ui_smoothness.rb,
card/tmpsets/set/mod017-card-mod-script/self/script_html5shiv_printshiv.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/style_select2_bootstrap.rb,
card/tmpsets/set/mod033-card-mod-prosemirror_editor/self/style_prosemirror.rb,
card/tmpsets/set/mod037-card-mod-tinymce_editor/self/script_tinymce_config.rb,
card/tmpsets/set/mod021-card-mod-bootstrap/self/style_bootstrap_colorpicker.rb,
card/tmpsets/set/mod033-card-mod-prosemirror_editor/self/script_prosemirror.rb,
card/tmpsets/set/mod033-card-mod-prosemirror_editor/self/script_prosemirror_config.rb,
card/tmpsets/set/mod002-core/self/trash.rb,
card/tmpsets/set/mod002-core/self/autoname.rb,
card/tmpsets/set/mod024-card-mod-date/self/now.rb,
card/tmpsets/set/mod028-card-mod-help/self/help.rb,
card/tmpsets/set/mod028-card-mod-help/self/guide.rb,
card/tmpsets/set/mod007-card-mod-format/self/home.rb,
card/tmpsets/set/mod020-card-mod-style/self/style.rb,
card/tmpsets/set/mod031-card-mod-layout/self/foot.rb,
card/tmpsets/set/mod031-card-mod-layout/self/head.rb,
card/tmpsets/set/mod026-card-mod-follow/self/never.rb,
card/tmpsets/set/mod016-card-mod-script/self/script.rb,
card/tmpsets/set/mod026-card-mod-follow/self/always.rb,
card/tmpsets/set/mod026-card-mod-follow/self/edited.rb,
card/tmpsets/set/mod026-card-mod-follow/self/follow.rb,
card/tmpsets/set/mod031-card-mod-layout/self/alerts.rb,
card/tmpsets/set/mod031-card-mod-layout/self/layout.rb,
card/tmpsets/set/mod031-card-mod-layout/self/navbox.rb,
card/tmpsets/set/mod036-card-mod-search/self/recent.rb,
card/tmpsets/set/mod036-card-mod-search/self/search.rb,
card/tmpsets/set/mod010-card-mod-account/self/signin.rb,
card/tmpsets/set/mod017-card-mod-ace_editor/self/ace.rb,
card/tmpsets/set/mod026-card-mod-follow/self/created.rb,
card/tmpsets/set/mod031-card-mod-layout/self/sidebar.rb,
card/tmpsets/set/mod037-card-mod-rules/self/cardtype.rb,
card/tmpsets/set/mod006-card-mod-content/self/default.rb,
card/tmpsets/set/mod011-card-mod-edit/self/input_type.rb,
card/tmpsets/set/mod024-card-mod-date/self/datepicker.rb,
card/tmpsets/set/mod009-card-mod-permissions/self/read.rb,
card/tmpsets/set/mod020-card-mod-style/self/style_mods.rb,
card/tmpsets/set/mod029-card-mod-integrate/self/thanks.rb,
card/tmpsets/set/mod006-card-mod-content/self/structure.rb,
card/tmpsets/set/mod013-card-mod-carrierwave/self/admin.rb,
card/tmpsets/set/mod020-card-mod-style/self/style_cards.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/captcha.rb,
card/tmpsets/set/mod008-card-mod-list/self/input_options.rb,
card/tmpsets/set/mod009-card-mod-permissions/self/create.rb,
card/tmpsets/set/mod009-card-mod-permissions/self/delete.rb,
card/tmpsets/set/mod009-card-mod-permissions/self/update.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_mods.rb,
card/tmpsets/set/mod037-card-mod-rules/self/script_rules.rb,
card/tmpsets/set/mod013-card-mod-carrierwave/self/favicon.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_decko.rb,
card/tmpsets/set/mod029-card-mod-integrate/self/on_create.rb,
card/tmpsets/set/mod029-card-mod-integrate/self/on_delete.rb,
card/tmpsets/set/mod029-card-mod-integrate/self/on_update.rb,
card/tmpsets/set/mod008-card-mod-list/self/content_options.rb,
card/tmpsets/set/mod013-card-mod-carrierwave/self/new_file.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_jquery.rb,
card/tmpsets/set/mod026-card-mod-follow/self/follow_fields.rb,
card/tmpsets/set/mod031-card-mod-layout/self/account_links.rb,
card/tmpsets/set/mod032-card-mod-legacy/self/csv_structure.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/admin_info.rb,
card/tmpsets/set/mod013-card-mod-carrierwave/self/new_image.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_editors.rb,
card/tmpsets/set/mod017-card-mod-ace_editor/self/script_ace.rb,
card/tmpsets/set/mod020-card-mod-style/self/style_libraries.rb,
card/tmpsets/set/mod024-card-mod-date/self/style_datepicker.rb,
card/tmpsets/set/mod037-card-mod-rules/self/recent_settings.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/font_awesome.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/smartmenu_js.rb,
card/tmpsets/set/mod024-card-mod-date/self/script_datepicker.rb,
card/tmpsets/set/mod026-card-mod-follow/self/follow_defaults.rb,
card/tmpsets/set/mod021-card-mod-bar_and_box/self/style_media.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/smartmenu_css.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/style_select2.rb,
card/tmpsets/set/mod031-card-mod-layout/self/dropdown_divider.rb,
card/tmpsets/set/mod038-card-mod-tinymce_editor/self/tiny_mce.rb,
card/tmpsets/set/mod008-card-mod-list/self/content_option_view.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/bootstrap_core.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/material_icons.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/script_select2.rb,
card/tmpsets/set/mod032-card-mod-legacy/self/default_html_view.rb,
card/tmpsets/set/mod032-card-mod-legacy/self/table_of_contents.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_proxy.rb,
card/tmpsets/set/mod016-card-mod-script/self/01_script_libraries.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/script_bootstrap.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_jquery_helper.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_pointer_config.rb,
card/tmpsets/set/mod017-card-mod-ace_editor/self/script_ace_config.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_settings.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_site_key.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/bootstrap_functions.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/script_load_select2.rb,
card/tmpsets/set/mod024-card-mod-date/self/script_datepicker_config.rb,
card/tmpsets/set/mod038-card-mod-tinymce_editor/self/script_tinymce.rb,
card/tmpsets/set/mod035-card-mod-recaptcha/self/recaptcha_secret_key.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/style_bootstrap_cards.rb,
card/tmpsets/set/mod020-card-mod-style/self/style_bootstrap_compatible.rb,
card/tmpsets/set/mod020-card-mod-style/self/style_jquery_ui_smoothness.rb,
card/tmpsets/set/mod016-card-mod-script/self/script_html5shiv_printshiv.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/style_select2_bootstrap.rb,
card/tmpsets/set/mod034-card-mod-prosemirror_editor/self/style_prosemirror.rb,
card/tmpsets/set/mod038-card-mod-tinymce_editor/self/script_tinymce_config.rb,
card/tmpsets/set/mod022-card-mod-bootstrap/self/style_bootstrap_colorpicker.rb,
card/tmpsets/set/mod034-card-mod-prosemirror_editor/self/script_prosemirror.rb,
card/tmpsets/set/mod034-card-mod-prosemirror_editor/self/script_prosemirror_config.rb

Overview

Set Pattern: Self

Defined Under Namespace

Modules: AccountLinks, Ace, Admin, AdminInfo, Alerts, Always, Autoname, BootstrapCore, BootstrapFunctions, Captcha, Cardtype, ContentOptionView, ContentOptions, Create, Created, CsvStructure, Datepicker, Debugger, Default, DefaultHtmlView, Delete, DropdownDivider, Edited, Favicon, Follow, FollowDefaults, FollowFields, FontAwesome, Foot, Guide, Head, Help, Home, InputOptions, InputType, Layout, MaterialIcons, Navbox, Never, NewFile, NewImage, Now, OnCreate, OnDelete, OnUpdate, Read, RecaptchaProxy, RecaptchaSecretKey, RecaptchaSettings, RecaptchaSiteKey, Recent, RecentSettings, Script, ScriptAce, ScriptAceConfig, ScriptBootstrap, ScriptDatepicker, ScriptDatepickerConfig, ScriptDecko, ScriptEditors, ScriptHtml5shivPrintshiv, ScriptJquery, ScriptJqueryHelper, ScriptLibraries, ScriptLoadSelect2, ScriptMods, ScriptPointerConfig, ScriptProsemirror, ScriptProsemirrorConfig, ScriptRules, ScriptSelect2, ScriptTinymce, ScriptTinymceConfig, Search, Sidebar, Signin, SmartmenuCss, SmartmenuJs, Structure, Style, StyleBootstrapCards, StyleBootstrapColorpicker, StyleBootstrapCompatible, StyleCards, StyleDatepicker, StyleJqueryUiSmoothness, StyleLibraries, StyleMedia, StyleMods, StyleProsemirror, StyleSelect2, StyleSelect2Bootstrap, TableOfContents, Thanks, TinyMce, Trash, Update, Version

Instance Attribute Summary

Attributes included from Pattern::ClassMethods

#anchor_parts_count, #anchorless, #assigns_type, #junction_only, #pattern_code, #pattern_id

Class Method Summary collapse

Methods inherited from Pattern::Base

#anchor_codenames, #anchor_parts, #anchor_parts_count, #find_anchor_id, #format_module_list, #initialize, #inspect, #lookup_module_list, #module_key, #module_list, #pattern, #rule_set_key, #safe_key, #to_s

Methods included from Pattern::ClassMethods

#anchorless?, #generic_label, #junction_only?, #module_key, #new, #pattern, #pattern_applies?, #register

Constructor Details

This class inherits a constructor from Card::Set::Pattern::Base

Class Method Details

.anchor_id(card) ⇒ Object



28
29
30
# File 'card/tmpsets/set_pattern/108-self.rb', line 28

def anchor_id card
  card.id
end

.anchor_name(card) ⇒ Object



24
25
26
# File 'card/tmpsets/set_pattern/108-self.rb', line 24

def anchor_name card
  card.name
end

.generic_labelObject



16
17
18
# File 'card/tmpsets/set_pattern/108-self.rb', line 16

def generic_label
  "a single card"
end

.label(name) ⇒ Object



8
9
10
# File 'card/tmpsets/set_pattern/108-self.rb', line 8

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

.prototype_args(anchor) ⇒ Object



20
21
22
# File 'card/tmpsets/set_pattern/108-self.rb', line 20

def prototype_args anchor
  { name: anchor }
end

.short_label(name) ⇒ Object



12
13
14
# File 'card/tmpsets/set_pattern/108-self.rb', line 12

def short_label name
  name
end