Class: StockMarkets::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
# File 'lib/stock_markets/configuration.rb', line 7

def initialize
  @data_file_path = File.expand_path('../../data/stock_markets.csv', __FILE__)
end

Instance Attribute Details

#data_file_pathObject

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