Exception: Atom::LoadError
- Inherits:
-
StandardError
- Object
- StandardError
- Atom::LoadError
- Defined in:
- lib/atom/xml/parser.rb
Instance Attribute Summary (collapse)
-
- (Object) response
readonly
Returns the value of attribute response.
Instance Method Summary (collapse)
-
- (LoadError) initialize(response)
constructor
A new instance of LoadError.
- - (Object) to_s
Constructor Details
- (LoadError) initialize(response)
A new instance of LoadError
38 39 40 |
# File 'lib/atom/xml/parser.rb', line 38 def initialize(response) @response = response end |
Instance Attribute Details
- (Object) response (readonly)
Returns the value of attribute response
37 38 39 |
# File 'lib/atom/xml/parser.rb', line 37 def response @response end |
Instance Method Details
- (Object) to_s
42 43 44 |
# File 'lib/atom/xml/parser.rb', line 42 def to_s "Atom::LoadError: #{response.code} #{response.}" end |