Class: PhilLocator::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/phil_locator/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
# File 'lib/phil_locator/configuration.rb', line 5

def initialize
  @data_root_path = [PhilLocator.gem_full_path, "lib/datasets"].join("/")
end

Instance Attribute Details

#data_root_pathObject

Returns the value of attribute data_root_path.



3
4
5
# File 'lib/phil_locator/configuration.rb', line 3

def data_root_path
  @data_root_path
end