Class: YahooFinance::StandardQuote

Inherits:
BaseQuote
  • Object
show all
Defined in:
lib/yahoofinance.rb

Instance Method Summary collapse

Methods inherited from BaseQuote

#load_quote, #to_s

Constructor Details

#initialize(valarray = nil) ⇒ StandardQuote

Returns a new instance of StandardQuote.



308
309
310
# File 'lib/yahoofinance.rb', line 308

def initialize( valarray=nil )
  super( YahooFinance::STDHASH, valarray )
end

Instance Method Details

#get_infoObject



312
313
314
# File 'lib/yahoofinance.rb', line 312

def get_info()
  "#{symbol} : #{lastTrade} : #{changePoints} (#{changePercent})"
end