Module: Card::Set::All::ListChanges

Extended by:
Card::Set
Defined in:
tmpsets/set/mod021-standard/all/list_changes.rb

Overview

-- encoding : utf-8 --

Class Method Summary collapse

Instance Method Summary collapse

Methods included from I18nScope

#mod_name, #scope

Methods included from Loader

#clean_empty_module_from_hash, #clean_empty_modules, #extended, #process_base_modules, #register_set

Methods included from Helpers

#abstract_set?, #all_set?, #num_set_parts, #shortname, #underscore

Methods included from Card::Set::AdvancedApi

#attachment, #ensure_set, #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 Basket

#abstract_basket, #add_to_basket, #basket, #unshift_basket

Methods included from Trait

#card_accessor, #card_reader, #card_writer, #require_field

Methods included from Event::Api

#event

Class Method Details

.source_locationObject



8
# File 'tmpsets/set/mod021-standard/all/list_changes.rb', line 8

def self.source_location; "/Users/ethan/dev/decko/gem/card/mod/standard/set/all/list_changes.rb"; end

Instance Method Details

#codename_list_exist?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'tmpsets/set/mod021-standard/all/list_changes.rb', line 23

def codename_list_exist?
  Card::Codename.exists? :list
end

#linker_listsObject



18
19
20
21
# File 'tmpsets/set/mod021-standard/all/list_changes.rb', line 18

def linker_lists
  Card.search({ type_id: Card::ListID, link_to: name },
              "lists that link to #{name}")
end

#list_fieldsObject



10
11
12
# File 'tmpsets/set/mod021-standard/all/list_changes.rb', line 10

def list_fields
  Card.search({ left: name, type_id: Card::ListID }, "list fields")
end

#listed_by_fieldsObject



14
15
16
# File 'tmpsets/set/mod021-standard/all/list_changes.rb', line 14

def listed_by_fields
  Card.search({ left: name, type_id: Card::ListedByID }, "listed by fields")
end