class MarketDataFaker::RandomSymbol
Constants
- ETF_SYMBOLS
Public Class Methods
get(type="etf")
click to toggle source
# File lib/market_data_faker/random_symbol.rb, line 8 def self.get(type="etf") const_name = "#{type}_symbols".upcase RandomSymbol.const_get(const_name).sample end