Class: Escort::Setup::Configuration::Locator::Base
- Inherits:
-
Object
- Object
- Escort::Setup::Configuration::Locator::Base
- Defined in:
- lib/escort/setup/configuration/locator/base.rb
Direct Known Subclasses
Chaining, DescendingToHome, ExecutingScriptDirectory, SpecifiedDirectory
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename) ⇒ Base
constructor
A new instance of Base.
- #locate ⇒ Object
Constructor Details
#initialize(filename) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/escort/setup/configuration/locator/base.rb', line 8 def initialize(filename) @filename = filename end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
6 7 8 |
# File 'lib/escort/setup/configuration/locator/base.rb', line 6 def filename @filename end |
Instance Method Details
#locate ⇒ Object
12 13 14 |
# File 'lib/escort/setup/configuration/locator/base.rb', line 12 def locate raise "Must be defined in child class" end |