Exception: Medici::StockSymbolError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Medici::StockSymbolError
- Defined in:
- lib/medici/errors.rb
Instance Attribute Summary collapse
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(symbol = nil, message = nil) ⇒ StockSymbolError
constructor
A new instance of StockSymbolError.
Constructor Details
#initialize(symbol = nil, message = nil) ⇒ StockSymbolError
Returns a new instance of StockSymbolError.
5 6 7 8 |
# File 'lib/medici/errors.rb', line 5 def initialize(symbol = nil, = nil) super() @symbol = symbol end |
Instance Attribute Details
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
3 4 5 |
# File 'lib/medici/errors.rb', line 3 def symbol @symbol end |