Class: Shenandoah::Buildr::Locator
- Inherits:
-
DefaultLocator
- Object
- DefaultLocator
- Shenandoah::Buildr::Locator
- Defined in:
- lib/shenandoah/buildr/locator.rb
Instance Attribute Summary
Attributes inherited from DefaultLocator
#main_path, #spec_path, #tmp_path
Instance Method Summary collapse
-
#initialize(project) ⇒ Locator
constructor
A new instance of Locator.
Methods inherited from DefaultLocator
Constructor Details
#initialize(project) ⇒ Locator
Returns a new instance of Locator.
6 7 8 9 10 11 12 13 |
# File 'lib/shenandoah/buildr/locator.rb', line 6 def initialize(project) super( :main_path => project.test.[:main_path] || project.path_to(:source, :main, :javascript), :spec_path => project.path_to(:source, :spec, :javascript), :tmp_path => project.path_to(:target, :shenandoah) ) end |