Class: Cardio::Mod::Loader::SetPatternLoader

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

Defined Under Namespace

Classes: Template

Instance Method Summary collapse

Methods inherited from Cardio::Mod::Loader

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

Constructor Details

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

Instance Method Details

#load_strategy_class(load_strategy) ⇒ Object



7
8
9
10
11
12
13
14
# File 'card/lib/cardio/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