Class: Card::Mod::Loader::SetPatternLoader

Inherits:
Card::Mod::Loader show all
Defined in:
lib/card/mod/loader/set_pattern_loader.rb

Defined Under Namespace

Classes: Template

Instance Method Summary collapse

Methods inherited from Card::Mod::Loader

#initialize, #load, load_chunks, load_dir, load_formats, load_initializers, load_mods, module_class_template, reload_sets

Constructor Details

This class inherits a constructor from Card::Mod::Loader

Instance Method Details

#load_strategy_class(load_strategy) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/card/mod/loader/set_pattern_loader.rb', line 7

def load_strategy_class load_strategy
  case load_strategy
  when :tmp_files
    LoadStrategy::PatternTmpFiles
  else # :eval
    LoadStrategy::Eval
  end
end