Class: PhilLocator::Configuration
- Inherits:
-
Object
- Object
- PhilLocator::Configuration
- Defined in:
- lib/phil_locator/configuration.rb
Instance Attribute Summary collapse
-
#data_root_path ⇒ Object
Returns the value of attribute data_root_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_path ⇒ Object
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 |