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.
7 8 9 10 |
# File 'lib/lj.rb', line 7 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/lj.rb', line 5 def data @data end |