Class: StockMarkets::Configuration
- Inherits:
-
Object
- Object
- StockMarkets::Configuration
- Defined in:
- lib/stock_markets/configuration.rb
Instance Attribute Summary collapse
-
#data_file_path ⇒ Object
Returns the value of attribute data_file_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/stock_markets/configuration.rb', line 7 def initialize @data_file_path = File.('../../data/stock_markets.csv', __FILE__) end |
Instance Attribute Details
#data_file_path ⇒ Object
Returns the value of attribute data_file_path.
5 6 7 |
# File 'lib/stock_markets/configuration.rb', line 5 def data_file_path @data_file_path end |