Class: Shenandoah::Rails::Locator
- Inherits:
-
DefaultLocator
- Object
- DefaultLocator
- Shenandoah::Rails::Locator
- Defined in:
- lib/shenandoah/rails/locator.rb
Instance Attribute Summary
Attributes inherited from DefaultLocator
#main_path, #spec_path, #tmp_path
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Locator
constructor
A new instance of Locator.
Methods inherited from DefaultLocator
Constructor Details
#initialize(options = {}) ⇒ Locator
Returns a new instance of Locator.
6 7 8 9 10 11 12 |
# File 'lib/shenandoah/rails/locator.rb', line 6 def initialize(={}) super( :main_path => File.join(RAILS_ROOT, [:main_path] || "public/javascripts"), :spec_path => File.join(RAILS_ROOT, [:spec_path] || select_spec_subpath), :tmp_path => File.join(RAILS_ROOT, "tmp/shenandoah") ) end |