class Cardio::Mod::LoadStrategy::Eval
Put everything for the module definition in one string and the evaluate it immediately with ruby’s eval method.
Public Instance Methods
load_modules()
click to toggle source
# File lib/cardio/mod/load_strategy/eval.rb, line 7 def load_modules each_file do |abs_path, module_names| template_class.new(module_names, abs_path, self).build end end