Class: AssetManager::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/asset_manager/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(source_file) ⇒ Runner

Returns a new instance of Runner.



5
6
7
8
9
# File 'lib/asset_manager/runner.rb', line 5

def initialize(source_file)
  a = AssetManager::Manager.new
  f = File.read(source_file)
  a.instance_eval(f)
end