Class: Escort::Setup::Configuration::Locator::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/escort/setup/configuration/locator/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#filenameObject (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

#locateObject



12
13
14
# File 'lib/escort/setup/configuration/locator/base.rb', line 12

def locate
  raise "Must be defined in child class"
end