Module: Card::Set::All::Phases

Extended by:
Card::Set
Defined in:
tmpsets/set/mod002-core/all/phases.rb

Constant Summary

Constants included from Format

Format::TEMPLATE_DIR

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

Methods included from Card::Set::AdvancedApi

#attachment, #ensure_set, #stage_method

Methods included from Format

#all_set_format_mod!, #before, #define_on_format, #format, #register_set_format, #view, #view_for_override

Methods included from Inheritance

#include_set, #include_set_formats

Methods included from Basket

#abstract_basket, #add_to_basket, #basket

Methods included from Trait

#card_accessor, #card_reader, #card_writer

Methods included from Event::Api

#event

Instance Method Details

#clean_upObject



17
18
19
# File 'tmpsets/set/mod002-core/all/phases.rb', line 17

def clean_up
  Card::DirectorRegister.clear
end

#only_storage_phase?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'tmpsets/set/mod002-core/all/phases.rb', line 9

def only_storage_phase?
  only_storage_phase || !director.main?
end

#prepare_for_phasesObject

~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/core/set/all/phases.rb ~~



4
5
6
7
# File 'tmpsets/set/mod002-core/all/phases.rb', line 4

def prepare_for_phases
  reset_patterns
  include_set_modules
end