Module: Card::Set
- Includes:
- AdvancedApi, Event::Api, Format, Helpers, Inheritance, Trait
- Included in:
- Abstract::AccountDropdown, Abstract::AccountField, Abstract::AccountHolder, Abstract::AssetCoffeeScript, Abstract::AssetCss, Abstract::AssetFile, Abstract::AssetGroup, Abstract::AssetInputter, Abstract::AssetJavaScript, Abstract::AssetOutputter, Abstract::AssetScript, Abstract::AssetScss, Abstract::AssetStyle, Abstract::Attachment, Abstract::Attachment::Cloud, Abstract::Attachment::Coded, Abstract::Attachment::Local, Abstract::Attachment::Paths, Abstract::Attachment::StorageType, Abstract::Attachment::UploadCache, Abstract::Attachment::Web, Abstract::BootstrapCodeFile, Abstract::BsBadge, Abstract::CodeContent, Abstract::CodeFile, Abstract::CodenameList, Abstract::CoffeeScript, Abstract::CqlSearch, Abstract::Css, Abstract::Delist, Abstract::EmailField, Abstract::FolderGroup, Abstract::FollowOption, Abstract::HamlFile, Abstract::IdList, Abstract::Items, Abstract::Items::OptionsApi, Abstract::JavaScript, Abstract::List, Abstract::List::Events, Abstract::List::HtmlViews, Abstract::List::OtherViews, Abstract::LocalManifestGroup, Abstract::Lock, Abstract::ManifestGroup, Abstract::Media, Abstract::ModAssets, Abstract::Paging, Abstract::Paging::PagingViews, Abstract::Permission, Abstract::ProgressBar, Abstract::ReadOnly, Abstract::RecaptchaSetting, Abstract::ReferenceList, Abstract::Script, Abstract::ScriptGroup, Abstract::Scss, Abstract::Search, Abstract::Search::SearchParams, Abstract::Search::Views, Abstract::SearchViews, Abstract::SkinBox, Abstract::SkinField, Abstract::Sources, Abstract::StyleGroup, Abstract::Tabs, Abstract::TaskTable, Abstract::TemplatedNests, Abstract::TestContext, Abstract::VirtualCache, Abstract::VirtualSearch, Abstract::VirtualSet, All::Account, All::AceEditor, All::Admin, All::Alert, All::AssignAttributes, All::Autocomplete, All::Autoname, All::Bar, All::Base, All::Board, All::Board::BoardPills, All::Board::FollowSection, All::Board::RelatedSection, All::Board::TabViews, All::Board::TabVisibility, All::Bootstrap, All::Bootstrap::Accordion, All::Bootstrap::Carousel, All::Bootstrap::Dropdown, All::Bootstrap::Form, All::Bootstrap::Helper, All::Bootstrap::Icon, All::Bootstrap::Navbar, All::Bootstrap::Table, All::Bootstrap::Wrapper, All::Box, All::Calendar, All::CardtypeGroups, All::Chunk, All::Codename, All::Comment, All::ConfigOptions, All::Content, All::ContextualContent, All::Css, All::Csv, All::Data, All::Debug, All::Demo, All::EditContent, All::EditInline, All::EditName, All::EditType, All::Editing, All::Editor, All::EmailHtml, All::EmailText, All::Error, All::EventViz, All::File, All::FileUtils, All::Follow, All::Follow::FollowLinkViews, All::Follow::FollowedBy, All::Follow::FollowerIds, All::Form, All::FormButtons, All::FormElements, All::Formgroup, All::Guide, All::Haml, All::HeadJavascript, All::Help, All::History, All::History::ActListing, All::History::Actions, All::History::Acts, All::History::Events, All::History::Export, All::History::Last, All::History::Revision, All::History::Selected, All::History::Views, All::HistoryBoard, All::Html, All::Html::Error, All::Html::Frame, All::Html::Head, All::Html::Header, All::Html::Menu, All::Html::Show, All::Html::Views, All::Html::Wrap, All::Initialize, All::Item, All::ItemAssignment, All::Js, All::Json, All::Layouts, All::Links, All::LocationHistory, All::Modal, All::NameEvents, All::NavbarLinks, All::New, All::Notify, All::Notify::BaseViews, All::Notify::HtmlViews, All::Observer, All::Overlay, All::OverlayGuide, All::PasswordInput, All::Path, All::Permissions, All::ProcessLayout, All::Recaptcha, All::Recursed, All::ReferenceEditor, All::ReferenceEditor::LinkEditor, All::ReferenceEditor::NestEditor, All::ReferenceEditor::NestEditor::NestEditorOptions, All::ReferenceEditor::NestEditor::NestEditorTabs, All::ReferenceEditor::NestImage, All::ReferenceEvents, All::RelatedSets, All::Result, All::Rss, All::SetSelect, All::States, All::Subcards, All::SupportsContentOptions, All::Tabs, All::TemplateNest, All::Templating, All::Text, All::TinymceEditor, All::Title, All::Trash, All::Type, All::UpdateReadRules, All::Utils, All::ViewViz, All::Yaml, Right::Account, Right::Account::Events, Right::Account::Views, Right::ApiKey, Right::AssetInput, Right::AssetOutput, Right::Autoname, Right::Bcc, Right::ByCreate, Right::ByName, Right::ByUpdate, Right::Captcha, Right::Cc, Right::Children, Right::Comment, Right::ContentOptionView, Right::ContentOptions, Right::ContextualClass, Right::Count, Right::Create, Right::Created, Right::Creator, Right::Default, Right::Delete, Right::Disappear, Right::Discussion, Right::Edited, Right::Editors, Right::Email, Right::EnabledRoles, Right::Follow, Right::FollowFields, Right::Followers, Right::Following, Right::From, Right::Guide, Right::Head, Right::Help, Right::HtmlMessage, Right::InputType, Right::LastEdited, Right::Layout, Right::LinkedToBy, Right::LinksTo, Right::Mates, Right::Message, Right::NestedBy, Right::Nests, Right::OnCreate, Right::OnDelete, Right::OnUpdate, Right::Password, Right::Read, Right::ReferredToBy, Right::RefersTo, Right::Right, Right::Roles, Right::Salt, Right::Script, Right::SecretKey, Right::Self, Right::SiteKey, Right::Status, Right::Structure, Right::Subject, Right::TextMessage, Right::Thanks, Right::To, Right::Type, Right::TypePlusRight, Right::Update, Right::WhenCreated, Right::WhenLastEdited, Rstar::RuleUser, Rule::BarView, Rule::BoardRulesEditor, Rule::Editor, Rule::HtmlViews, Rule::QuickEditor, Rule::RuleForm, Rule::RuleForm::Buttons, Rule::RuleForm::SetSelection, Rule::Rules, Self::AccountLinks, Self::Ace, Self::Admin, Self::Alerts, Self::Always, Self::Anonymous, Self::Autoname, Self::BootstrapCore, Self::BootstrapFunctions, Self::Captcha, Self::Cardtype, Self::ContentOptionView, Self::ContentOptions, Self::Create, Self::Created, Self::Default, Self::Delete, Self::DropdownDivider, Self::Edited, Self::Favicon, Self::Follow, Self::FollowDefaults, Self::FollowFields, Self::Foot, Self::Guide, Self::Head, Self::Help, Self::Home, Self::InputOptions, Self::InputType, Self::Layout, Self::LayoutOptions, Self::Mod, Self::Never, Self::NewFile, Self::NewImage, Self::Now, Self::OnCreate, Self::OnDelete, Self::OnUpdate, Self::Read, Self::RecaptchaSettings, Self::Recent, Self::RecentSettings, Self::Role, Self::Script, Self::Search, Self::Sidebar, Self::Signin, Self::Structure, Self::Style, Self::StyleMods, Self::Thanks, Self::TinyMce, Self::Trash, Self::Update, Self::Version, Self::WagnBot, Type::Basic, Type::BootswatchSkin, Type::BootswatchSkin::Events, Type::BootswatchSkin::HtmlViews, Type::Cardtype, Type::CoffeeScript, Type::Css, Type::Date, Type::EmailTemplate, Type::EmailTemplate::EmailConfig, Type::File, Type::Html, Type::Image, Type::Image::HtmlViews, Type::JavaScript, Type::Json, Type::LayoutType, Type::LinkList, Type::List, Type::LocalScriptFolderGroup, Type::LocalScriptManifestGroup, Type::LocalStyleFolderGroup, Type::LocalStyleManifestGroup, Type::Markdown, Type::Mod, Type::NestList, Type::NotificationTemplate, Type::Number, Type::Phrase, Type::PlainText, Type::Pointer, Type::RemoteManifestGroup, Type::Role, Type::Scss, Type::SearchType, Type::Session, Type::Set, Type::Set::HtmlViews, Type::Set::HtmlViews::FilteredRuleLists, Type::Set::HtmlViews::RuleLists, Type::Set::HtmlViews::SettingFilter, Type::Set::HtmlViews::Template, Type::Set::SettingCategories, Type::Setting, Type::Signup, Type::Signup::Views, Type::Skin, Type::Toggle, Type::Uri, Type::User, TypePlusRight::BootswatchSkin::Colors, TypePlusRight::BootswatchSkin::Image, TypePlusRight::BootswatchSkin::Parent, TypePlusRight::BootswatchSkin::Stylesheets, TypePlusRight::BootswatchSkin::Variables, TypePlusRight::Cardtype::Account, TypePlusRight::Mod::Script, TypePlusRight::Mod::Style, TypePlusRight::Role::Members, TypePlusRight::Set::Script, TypePlusRight::Set::Setting, TypePlusRight::Set::Structure, TypePlusRight::Set::Style, TypePlusRight::User::Email, TypePlusRight::User::Follow, TypePlusRight::User::Follow::FollowEditorHelper
- Defined in:
- card/lib/card/set.rb,
card/lib/card/set/type.rb,
card/lib/card/set/event.rb,
card/lib/card/set/trait.rb,
card/lib/card/set/format.rb,
card/lib/card/set/helpers.rb,
card/lib/card/set/pattern.rb,
card/lib/card/set/abstract.rb,
card/lib/card/set/event/all.rb,
card/lib/card/set/registrar.rb,
card/lib/card/set/i18n_scope.rb,
card/lib/card/set/inheritance.rb,
card/lib/card/set/pattern/all.rb,
card/lib/card/set/advanced_api.rb,
card/lib/card/set/card_methods.rb,
card/lib/card/set/i18n_scanner.rb,
card/lib/card/set/pattern/base.rb,
card/lib/card/set/event/options.rb,
card/lib/card/set/required_field.rb,
card/lib/card/set/event/callbacks.rb,
card/lib/card/set/format/haml_paths.rb,
card/lib/card/set/event/delayed_event.rb,
card/lib/card/set/pattern/class_methods.rb,
card/lib/card/set/event/skip_and_trigger.rb,
card/lib/card/set/format/abstract_format.rb,
card/lib/card/set/format/abstract_format/wrapper.rb,
card/lib/card/set/format/abstract_format/view_opts.rb,
card/lib/card/set/format/abstract_format/haml_views.rb,
card/lib/card/set/format/abstract_format/view_definition.rb,
platypus/tmp/set/gem-card/mod001-core/all/type.rb,
platypus/tmp/set/gem-card/mod001-core/self/mod.rb,
platypus/tmp/set/gem-card/mod001-core/type/mod.rb,
platypus/tmp/set/gem-card/mod001-core/all/admin.rb,
platypus/tmp/set/gem-card/mod001-core/all/debug.rb,
platypus/tmp/set/gem-card/mod001-core/all/trash.rb,
platypus/tmp/set/gem-card/mod001-core/all/utils.rb,
platypus/tmp/set/gem-card/mod001-core/all/result.rb,
platypus/tmp/set/gem-card/mod001-core/all/states.rb,
platypus/tmp/set/gem-card/mod001-core/self/admin.rb,
platypus/tmp/set/gem-card/mod001-core/self/trash.rb,
platypus/tmp/set/gem-card/mod001-core/all/content.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/new.rb,
platypus/tmp/set/gem-card/mod001-core/all/autoname.rb,
platypus/tmp/set/gem-card/mod001-core/all/codename.rb,
platypus/tmp/set/gem-card/mod001-core/all/subcards.rb,
platypus/tmp/set/gem-card/mod001-core/self/version.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/js.rb,
platypus/tmp/set/gem-defaults/mod008-help/all/help.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/form.rb,
platypus/tmp/set/gem-defaults/mod026-date/self/now.rb,
platypus/tmp/set/gem-defaults/mod030-tabs/all/tabs.rb,
platypus/tmp/set/gem-card/mod001-core/self/autoname.rb,
platypus/tmp/set/gem-card/mod001-core/type/cardtype.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/css.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/csv.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/rss.rb,
platypus/tmp/set/gem-defaults/mod005-list/type/list.rb,
platypus/tmp/set/gem-defaults/mod008-help/all/guide.rb,
platypus/tmp/set/gem-defaults/mod008-help/self/help.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board.rb,
platypus/tmp/set/gem-defaults/mod011-edit/type/list.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/cc.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/to.rb,
platypus/tmp/set/gem-defaults/mod022-style/type/css.rb,
platypus/tmp/set/gem-defaults/mod026-date/type/date.rb,
platypus/tmp/set/gem-card/mod001-core/all/initialize.rb,
platypus/tmp/set/gem-card/mod001-core/right/autoname.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/base.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/data.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/demo.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/file.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/haml.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/json.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/path.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/text.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/yaml.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/mod.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/uri.rb,
platypus/tmp/set/gem-defaults/mod008-help/right/help.rb,
platypus/tmp/set/gem-defaults/mod008-help/self/guide.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/editor.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/bcc.rb,
platypus/tmp/set/gem-defaults/mod018-assets/type/mod.rb,
platypus/tmp/set/gem-defaults/mod022-style/type/scss.rb,
platypus/tmp/set/gem-defaults/mod022-style/type/skin.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type/set.rb,
platypus/tmp/set/gem-card/mod001-core/all/name_events.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/error.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/links.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/title.rb,
platypus/tmp/set/gem-defaults/mod004-format/self/home.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/html.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/json.rb,
platypus/tmp/set/gem-defaults/mod008-help/right/guide.rb,
platypus/tmp/set/gem-defaults/mod010-rules/right/self.rb,
platypus/tmp/set/gem-defaults/mod010-rules/right/type.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/rules.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/editing.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/from.rb,
platypus/tmp/set/gem-defaults/mod022-style/self/style.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type/user.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/alert.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/modal.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/foot.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/head.rb,
platypus/tmp/set/gem-defaults/mod031-layout/type/html.rb,
platypus/tmp/set/gem-defaults/mod035-monkey/all/debug.rb,
platypus/tmp/set/gem-defaults/mod003-content/all/chunk.rb,
platypus/tmp/set/gem-defaults/mod004-format/right/head.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/basic.rb,
platypus/tmp/set/gem-defaults/mod005-list/type/pointer.rb,
platypus/tmp/set/gem-defaults/mod010-rules/right/right.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/editor.rb,
platypus/tmp/set/gem-defaults/mod011-edit/right/thanks.rb,
platypus/tmp/set/gem-defaults/mod011-edit/type/pointer.rb,
platypus/tmp/set/gem-defaults/mod014-account/self/role.rb,
platypus/tmp/set/gem-defaults/mod014-account/type/role.rb,
platypus/tmp/set/gem-defaults/mod014-account/type/user.rb,
platypus/tmp/set/gem-defaults/mod026-date/all/calendar.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/notify.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/never.rb,
platypus/tmp/set/gem-defaults/mod031-layout/right/head.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/content.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/number.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/phrase.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/toggle.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/count.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/mates.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/nests.rb,
platypus/tmp/set/gem-defaults/mod009-search/self/recent.rb,
platypus/tmp/set/gem-defaults/mod009-search/self/search.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/setting.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/edit_name.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/edit_type.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/formgroup.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/salt.rb,
platypus/tmp/set/gem-defaults/mod019-script/self/script.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/always.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/edited.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/follow.rb,
platypus/tmp/set/gem-defaults/mod030-tabs/abstract/tabs.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/layouts.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/overlay.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/alerts.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/layout.rb,
platypus/tmp/set/gem-defaults/mod002-collection/all/item.rb,
platypus/tmp/set/gem-defaults/mod005-list/type/link_list.rb,
platypus/tmp/set/gem-defaults/mod005-list/type/nest_list.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/edited.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/bar_view.rb,
platypus/tmp/set/gem-defaults/mod010-rules/self/cardtype.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/cardtype.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/subject.rb,
platypus/tmp/set/gem-defaults/mod014-account/all/account.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/email.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/roles.rb,
platypus/tmp/set/gem-defaults/mod014-account/self/signin.rb,
platypus/tmp/set/gem-defaults/mod014-account/type/signup.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history.rb,
platypus/tmp/set/gem-defaults/mod019-script/right/script.rb,
platypus/tmp/set/gem-defaults/mod020-ace_editor/self/ace.rb,
platypus/tmp/set/gem-defaults/mod023-bar_and_box/all/bar.rb,
platypus/tmp/set/gem-defaults/mod023-bar_and_box/all/box.rb,
platypus/tmp/set/gem-defaults/mod025-comment/all/comment.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/follow.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/created.rb,
platypus/tmp/set/gem-defaults/mod031-layout/right/layout.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/sidebar.rb,
platypus/tmp/set/gem-defaults/mod035-monkey/all/view_viz.rb,
platypus/tmp/set/gem-card/mod001-core/abstract/task_table.rb,
platypus/tmp/set/gem-defaults/mod003-content/self/default.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/head.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/menu.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/show.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/wrap.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/cardtype.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/delist.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/by_name.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/created.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/creator.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/editors.rb,
platypus/tmp/set/gem-defaults/mod009-search/type/cardtype.rb,
platypus/tmp/set/gem-defaults/mod010-rules/all/set_select.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/rule_form.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/edit_inline.rb,
platypus/tmp/set/gem-defaults/mod011-edit/self/input_type.rb,
platypus/tmp/set/gem-defaults/mod011-edit/type/plain_text.rb,
platypus/tmp/set/gem-defaults/mod012-email/all/email_html.rb,
platypus/tmp/set/gem-defaults/mod012-email/all/email_text.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/status.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/account.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/message.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type/cardtype.rb,
platypus/tmp/set/gem-defaults/mod029-session/type/session.rb,
platypus/tmp/set/gem-defaults/mod031-layout/abstract/list.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/self/admin.rb,
platypus/tmp/set/gem-defaults/mod035-monkey/all/event_viz.rb,
platypus/tmp/set/gem-card/mod001-core/all/reference_events.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/lock.rb,
platypus/tmp/set/gem-defaults/mod003-content/right/default.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/error.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/frame.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/views.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/id_list.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/self/read.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/children.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/links_to.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rstar/rule_user.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/html_views.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/edit_content.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/form_buttons.rb,
platypus/tmp/set/gem-defaults/mod011-edit/right/input_type.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/self/thanks.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/account.rb,
platypus/tmp/set/gem-defaults/mod014-account/self/wagn_bot.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/type/file.rb,
platypus/tmp/set/gem-defaults/mod021-api_key/right/account.rb,
platypus/tmp/set/gem-defaults/mod021-api_key/right/api_key.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/01_css.rb,
platypus/tmp/set/gem-defaults/mod022-style/self/style_mods.rb,
platypus/tmp/set/gem-defaults/mod025-comment/right/comment.rb,
platypus/tmp/set/gem-defaults/mod031-layout/abstract/items.rb,
platypus/tmp/set/gem-card/mod001-core/all/assign_attributes.rb,
platypus/tmp/set/gem-defaults/mod003-content/all/templating.rb,
platypus/tmp/set/gem-defaults/mod003-content/self/structure.rb,
platypus/tmp/set/gem-defaults/mod004-format/all/html/header.rb,
platypus/tmp/set/gem-defaults/mod004-format/type/plain_text.rb,
platypus/tmp/set/gem-defaults/mod006-markdown/type/markdown.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/right/read.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/by_create.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/by_update.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/nested_by.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/refers_to.rb,
platypus/tmp/set/gem-defaults/mod010-rules/all/related_sets.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/form_elements.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/overlay_guide.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/template_nest.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/all/observer.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/password.rb,
platypus/tmp/set/gem-defaults/mod014-account/self/anonymous.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/self/admin.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/type/image.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/02_scss.rb,
platypus/tmp/set/gem-defaults/mod023-bar_and_box/type/image.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/disappear.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/followers.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/following.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/self/captcha.rb,
platypus/tmp/set/gem-defaults/mod002-collection/all/recursed.rb,
platypus/tmp/set/gem-defaults/mod003-content/right/structure.rb,
platypus/tmp/set/gem-defaults/mod005-list/self/input_options.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/self/create.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/self/delete.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/self/update.rb,
platypus/tmp/set/gem-defaults/mod009-search/all/autocomplete.rb,
platypus/tmp/set/gem-defaults/mod009-search/type/search_type.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/quick_editor.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/self/search.rb,
platypus/tmp/set/gem-defaults/mod019-script/type/java_script.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/skin_box.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap.rb,
platypus/tmp/set/gem-defaults/mod026-date/right/when_created.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/navbar_links.rb,
platypus/tmp/set/gem-defaults/mod031-layout/type/layout_type.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/all/recaptcha.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/right/captcha.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/right/create.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/right/delete.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/right/update.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/last_edited.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board/tab_views.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/html_message.rb,
platypus/tmp/set/gem-defaults/mod012-email/right/text_message.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/self/on_create.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/self/on_delete.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/self/on_update.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/acts.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/last.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/self/favicon.rb,
platypus/tmp/set/gem-defaults/mod018-assets/right/asset_input.rb,
platypus/tmp/set/gem-defaults/mod025-comment/right/discussion.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/right/site_key.rb,
platypus/tmp/set/gem-defaults/mod002-collection/abstract/items.rb,
platypus/tmp/set/gem-defaults/mod005-list/self/content_options.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/linked_to_by.rb,
platypus/tmp/set/gem-defaults/mod010-rules/all/cardtype_groups.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views.rb,
platypus/tmp/set/gem-defaults/mod012-email/type/email_template.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/right/on_create.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/right/on_delete.rb,
platypus/tmp/set/gem-defaults/mod013-integrate/right/on_update.rb,
platypus/tmp/set/gem-defaults/mod014-account/type/signup/views.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/views.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history_board.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/self/new_file.rb,
platypus/tmp/set/gem-defaults/mod018-assets/right/asset_output.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/00_script.rb,
platypus/tmp/set/gem-defaults/mod019-script/type/coffee_script.rb,
platypus/tmp/set/gem-defaults/mod020-ace_editor/all/ace_editor.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/follow_fields.rb,
platypus/tmp/set/gem-defaults/mod031-layout/all/process_layout.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/account_links.rb,
platypus/tmp/set/gem-defaults/mod002-collection/abstract/paging.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/haml_file.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/read_only.rb,
platypus/tmp/set/gem-defaults/mod005-list/right/content_options.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/cql_search.rb,
platypus/tmp/set/gem-defaults/mod010-rules/abstract/virtual_set.rb,
platypus/tmp/set/gem-defaults/mod010-rules/self/recent_settings.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board/board_pills.rb,
platypus/tmp/set/gem-defaults/mod012-email/abstract/email_field.rb,
platypus/tmp/set/gem-defaults/mod014-account/all/password_input.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/events.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/export.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/all/file_utils.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/self/new_image.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_file.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/mod_assets.rb,
platypus/tmp/set/gem-defaults/mod019-script/all/head_javascript.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/style_group.rb,
platypus/tmp/set/gem-defaults/mod023-bar_and_box/abstract/media.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/follow_fields.rb,
platypus/tmp/set/gem-defaults/mod031-layout/right/enabled_roles.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/layout_options.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/right/secret_key.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/00_sources.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/codename_list.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/all/permissions.rb,
platypus/tmp/set/gem-defaults/mod009-search/right/referred_to_by.rb,
platypus/tmp/set/gem-defaults/mod010-rules/right/type_plus_right.rb,
platypus/tmp/set/gem-defaults/mod012-email/abstract/test_context.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/account/views.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/actions.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_group.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/03_asset_css.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/abstract/bs_badge.rb,
platypus/tmp/set/gem-defaults/mod026-date/right/when_last_edited.rb,
platypus/tmp/set/gem-defaults/mod028-follow/self/follow_defaults.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/events.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/reference_list.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/search_views.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/rule_form/buttons.rb,
platypus/tmp/set/gem-defaults/mod014-account/right/account/events.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/revision.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/selected.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/folder_group.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/script_group.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/03_asset_scss.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/form.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/icon.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/notify/base_views.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/notify/html_views.rb,
platypus/tmp/set/gem-defaults/mod029-session/all/location_history.rb,
platypus/tmp/set/gem-defaults/mod031-layout/self/dropdown_divider.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/self/tiny_mce.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/02_code_file.rb,
platypus/tmp/set/gem-defaults/mod005-list/self/content_option_view.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/board_rules_editor.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board/follow_section.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board/tab_visibility.rb,
platypus/tmp/set/gem-defaults/mod022-style/abstract/01_asset_style.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/abstract/skin_field.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/table.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/self/bootstrap_core.rb,
platypus/tmp/set/gem-defaults/mod028-follow/abstract/follow_option.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/follow_link.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/followed_by.rb,
platypus/tmp/set/gem-defaults/mod028-follow/right/contextual_class.rb,
platypus/tmp/set/gem-defaults/mod002-collection/all/item_assignment.rb,
platypus/tmp/set/gem-defaults/mod003-content/all/contextual_content.rb,
platypus/tmp/set/gem-defaults/mod005-list/right/content_option_view.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/all/config_options.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/views.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/virtual_search.rb,
platypus/tmp/set/gem-defaults/mod011-edit/all/board/related_section.rb,
platypus/tmp/set/gem-defaults/mod014-account/abstract/account_field.rb,
platypus/tmp/set/gem-defaults/mod017-virtual/abstract/virtual_cache.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_inputter.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/01_java_script.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/helper.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/navbar.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/follower_ids.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/abstract/permission.rb,
platypus/tmp/set/gem-defaults/mod014-account/abstract/account_holder.rb,
platypus/tmp/set/gem-defaults/mod015-history/all/history/act_listing.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/asset_outputter.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/01_asset_script.rb,
platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/mod/style.rb,
platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/abstract/progress_bar.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/wrapper.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/01_code_content.rb,
platypus/tmp/set/gem-defaults/mod003-content/abstract/templated_nests.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/html_views.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/02_coffee_script.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/carousel.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/dropdown.rb,
platypus/tmp/set/gem-defaults/mod031-layout/abstract/account_dropdown.rb,
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb,
platypus/tmp/set/gem-defaults/mod005-list/all/supports_content_options.rb,
platypus/tmp/set/gem-defaults/mod007-permissions/all/update_read_rules.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/setting_categories.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type_plus_right/set/setting.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/type/image/html_views.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/01_manifest_group.rb,
platypus/tmp/set/gem-defaults/mod018-assets/type/remote_manifest_group.rb,
platypus/tmp/set/gem-defaults/mod019-script/type_plus_right/mod/script.rb,
platypus/tmp/set/gem-defaults/mod019-script/type_plus_right/set/script.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/all/bootstrap/accordion.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type/notification_template.rb,
platypus/tmp/set/gem-defaults/mod031-layout/abstract/items/options_api.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/self/recaptcha_settings.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/tinymce_editor.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/rule_form/set_selection.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views/template.rb,
platypus/tmp/set/gem-defaults/mod014-account/type_plus_right/user/email.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/self/bootstrap_functions.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/stop_follow_link.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type_plus_right/user/follow.rb,
platypus/tmp/set/gem-defaults/mod010-rules/rule/rule_form/rule_set_radio.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type_plus_right/set/structure.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/web.rb,
platypus/tmp/set/gem-defaults/mod022-style/type/local_style_folder_group.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/follow_link_views.rb,
platypus/tmp/set/gem-defaults/mod028-follow/all/follow/start_follow_link.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views/rule_lists.rb,
platypus/tmp/set/gem-defaults/mod014-account/type_plus_right/role/members.rb,
platypus/tmp/set/gem-defaults/mod018-assets/abstract/local_manifest_group.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/03_asset_java_script.rb,
platypus/tmp/set/gem-defaults/mod032-recaptcha/abstract/recaptcha_setting.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/cloud.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/coded.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/local.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/paths.rb,
platypus/tmp/set/gem-defaults/mod019-script/type/local_script_folder_group.rb,
platypus/tmp/set/gem-defaults/mod022-style/type/local_style_manifest_group.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin/events.rb,
platypus/tmp/set/gem-defaults/mod009-search/abstract/0_search/search_params.rb,
platypus/tmp/set/gem-defaults/mod012-email/type/email_template/email_config.rb,
platypus/tmp/set/gem-defaults/mod019-script/abstract/04_asset_coffee_script.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/abstract/bootstrap_code_file.rb,
platypus/tmp/set/gem-defaults/mod002-collection/abstract/paging/paging_views.rb,
platypus/tmp/set/gem-defaults/mod019-script/type/local_script_manifest_group.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views/setting_filter.rb,
platypus/tmp/set/gem-defaults/mod014-account/type_plus_right/cardtype/account.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type/bootswatch_skin/html_views.rb,
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views/filtered_rule_lists.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/nest_image.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/00_upload_cache.rb,
platypus/tmp/set/gem-defaults/mod016-carrierwave/abstract/attachment/01_storage_type.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type_plus_right/bootswatch_skin/image.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/link_editor.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/nest_editor.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type_plus_right/bootswatch_skin/colors.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type_plus_right/bootswatch_skin/parent.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type_plus_right/bootswatch_skin/variables.rb,
platypus/tmp/set/gem-defaults/mod024-bootstrap/type_plus_right/bootswatch_skin/stylesheets.rb,
platypus/tmp/set/gem-defaults/mod028-follow/type_plus_right/user/follow/follow_editor_helper.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/link_editor/link_parser.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/nest_editor/nest_editor_tabs.rb,
platypus/tmp/set/gem-defaults/mod033-tinymce_editor/all/reference_editor/nest_editor/nest_editor_options.rb
Overview
A Set is a group of Cards to which Rules may apply. Sets can be as specific as a single card, as general as all cards, or anywhere in between.
Rules can defined onto Sets in two ways:
- Card rules are defined in card content. These are generally configured via the web interface and are thus documented at https://decko.org/rules.
- Code rules can be defined in a ‘set module’.
Set Modules
File structure
Set modules specify views, events, and other methods for a given set of cards. They are defined in a mod’s set directory. For example, suppose you’ve created a mod called biz, your deck has Company cards, and you want to extend the behavior of those cards.
You can add a set module like so:
card generate set biz type company
This will create the following two files:
mod/biz/set/type/company.rb
mod/biz/spec/set/type/company.rb
If you would like to break this code into smaller files, you can extend this pattern into another directory, eg:
mod/biz/set/type/company/foo.rb
mod/biz/set/type/company/.rb
The general pattern can be expressed as follows:
DECKNAME/mod/MODNAME/set/SET_PATTERN/ANCHOR[/FREENAME].rb
Note: the set module’s filename connects it to the set, so both the set_pattern
and the set_anchor must correspond to the codename of a card in the database to
function correctly. For example, the type/company directory corresponds to the Set
card named :company+:type
. Both the :company and :type codenames must exist for this
to work properly.
Writing/Editing set modules
A set module is mostly standard ruby, but the files are quite concise because
- the set module’s file location is used to autogenerate ruby module definitions
- A DSL (Domain-Specific Language) makes common tasks easy.
You can, for example, edit mod/biz/set/type/company.rb
, and add only the
following code:
def hello
"world"
end
No further code is needed for this method to be available to cards with the type
Company (as specified by the file’s location). This code will automatically be added
to a ruby module named Card::Set::Type::Company
. That module is extended with the
Set module, giving it access to the set module DSL.
These important Card::Set subclasses explain more about the DSL
- Format introduces format blocks
- Format::AbstractFormat covers view definitions
- Event::Api explains event definitions
Loading set modules
Whenever you fetch or instantiate a card, the card will automatically include code from all the set modules associated with sets of which it is a member.
For example, say you have a Plaintext card named ‘Philipp+address’, and you have set files for the following sets:
- all cards
- all Plaintext cards
- all cards ending in +address
When you run any of these:
mycard = Card.fetch "Philipp+address"
mycard = "Philipp+address".card
mycard = ["Philipp", "address"].card
…then mycard will include the set modules associated with each of those sets in the above order.
Abstract set modules
Suppose you have code that you’d like to reuse in more than one set.
Well, set modules are just ruby, so it’s possible to just define a standard ruby
module (eg module MySimpleModule...
) in a lib directory and then include that
set (include MySimpleModule
). That will work just fine so long as you only want
to add simple ruby code and include it in the base ruby module. But what if you
want the reusable code to use the DSL? What if you want to define reusable events,
for example? Or if you want to define reusable views on formats?
For this purpose, you can use abstract set modules. These are modules that use
the set DSL but are not defined directly onto a specific set. Instead, they can
be included in a set using the include_set
command.
For example, suppose you create a file at mod/biz/set/abstract/special_views.rb
.
And within that file you define a view such as the following:
format :html do
view :bizzy do
"I'm so busy"
end
end
This will create an abstract set that can be included in any other set by invoking
include_set Card::Set::Abstract::SpecialViews
. Or just include_set
Abstract::SpecialViews
for short. And then the including set will have access to the
“bizzy” view.
Defined Under Namespace
Modules: AdvancedApi, CardMethods, Format, Helpers, I18nScope, Inheritance, Pattern, Registrar, Trait Classes: Abstract, All, AllPlus, Event, I18nScanner, RequiredField, Right, Rstar, Rule, Self, Star, Type, TypePlusRight
Constant Summary
Constants included from Helpers
Helpers::SET_PATTERN_TEST_REGEXP
Constants included from Event::Api
Class Attribute Summary collapse
-
.basket ⇒ Object
Returns the value of attribute basket.
-
.modules ⇒ Object
Returns the value of attribute modules.
-
.traits ⇒ Object
Returns the value of attribute traits.
Class Method Summary collapse
Methods included from I18nScope
Methods included from Registrar
extended, finalize_load, process_base_modules, register_set
Methods included from Helpers
#format_module, #format_modules, #method_missing, #modules, #pattern_code, #respond_to_missing?, #set_name_parts, #shortname, #underscored_name
Methods included from AdvancedApi
#assign_type, #attachment, #define_set_from_error, #ensure_set, #setting_opts, #stage_method
Methods included from Format
#before, #format, layout_method_name, #view, view_method_name, view_setting_method_name, wrapper_method_name
Methods included from Inheritance
#include_set, #include_set_formats
Methods included from Trait
#card_accessor, #card_reader, #card_writer, #require_field
Methods included from Event::Api
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Card::Set::Helpers
Class Attribute Details
.basket ⇒ Object
Returns the value of attribute basket.
134 135 136 |
# File 'card/lib/card/set.rb', line 134 def basket @basket end |
.modules ⇒ Object
Returns the value of attribute modules.
134 135 136 |
# File 'card/lib/card/set.rb', line 134 def modules @modules end |
.traits ⇒ Object
Returns the value of attribute traits.
134 135 136 |
# File 'card/lib/card/set.rb', line 134 def traits @traits end |
Class Method Details
.reset ⇒ Object
136 137 138 139 140 141 142 143 144 |
# File 'card/lib/card/set.rb', line 136 def reset self.modules = { base: [], base_format: {}, nonbase: {}, nonbase_format: {}, abstract: {}, abstract_format: {} } self.basket = {} end |