Class: AssetManager::Runner
- Inherits:
-
Object
- Object
- AssetManager::Runner
- Defined in:
- lib/asset_manager/runner.rb
Instance Method Summary collapse
-
#initialize(source_file) ⇒ Runner
constructor
A new instance of Runner.
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 |