Method: Linecook::Commands::Compile#compile_helpers
- Defined in:
- lib/linecook/commands/compile.rb
#compile_helpers(helper_dir) ⇒ Object
166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/linecook/commands/compile.rb', line 166 def compile_helpers(helper_dir) compiler = CompileHelper.new( :force => force, :quiet => true ) helpers = glob_helpers(helper_dir) helpers.each do |(name, sources)| compiler.process(name, *sources) end $LOAD_PATH.unshift compiler.output_dir end |