class Cardio::Mod::Loader::SetPatternLoader
arguably overkill, the set pattern loader makes set patterns use directory/file-aware loading much as set patterns do. Since they are so rarely added, this optimization should probably be deprecated
Public Instance Methods
Source
# File lib/cardio/mod/loader/set_pattern_loader.rb, line 16 def each_file &block each_mod_dir :set_pattern do |base_dir| each_file_in_dir base_dir, &block end end
Source
# File lib/cardio/mod/loader/set_pattern_loader.rb, line 12 def load_strategy_class strategy LoadStrategy.class_for_set_pattern strategy end
Source
# File lib/cardio/mod/loader/set_pattern_loader.rb, line 8 def template_class SetPatternTemplate end