Exception: Topsy::TopsyError
- Inherits:
-
StandardError
- Object
- StandardError
- Topsy::TopsyError
- Defined in:
- lib/topsy.rb
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) data
readonly
Returns the value of attribute data.
Instance Method Summary (collapse)
-
- (TopsyError) initialize(data)
constructor
A new instance of TopsyError.
Constructor Details
- (TopsyError) initialize(data)
A new instance of TopsyError
13 14 15 16 |
# File 'lib/topsy.rb', line 13 def initialize(data) @data = data super end |
Instance Attribute Details
- (Object) data (readonly)
Returns the value of attribute data
11 12 13 |
# File 'lib/topsy.rb', line 11 def data @data end |