Class: YahooFinance::StandardQuote
- Defined in:
- lib/yahoofinance.rb
Instance Method Summary collapse
- #get_info ⇒ Object
-
#initialize(valarray = nil) ⇒ StandardQuote
constructor
A new instance of StandardQuote.
Methods inherited from BaseQuote
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_info ⇒ Object
312 313 314 |
# File 'lib/yahoofinance.rb', line 312 def get_info() "#{symbol} : #{lastTrade} : #{changePoints} (#{changePercent})" end |