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, #valid?

Constructor Details

#initialize(valarray = nil) ⇒ StandardQuote

Returns a new instance of StandardQuote.



337
338
339
# File 'lib/yahoofinance.rb', line 337

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

Instance Method Details

#get_infoObject



341
342
343
# File 'lib/yahoofinance.rb', line 341

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