Exception: LJ::LiveJournalError
- Inherits:
-
StandardError
- Object
- StandardError
- LJ::LiveJournalError
- Defined in:
- lib/lj.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ LiveJournalError
constructor
A new instance of LiveJournalError.
Constructor Details
#initialize(data) ⇒ LiveJournalError
Returns a new instance of LiveJournalError.
8 9 10 11 |
# File 'lib/lj.rb', line 8 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/lj.rb', line 6 def data @data end |