Exception: RSS::MissingAttributeError
- Inherits:
-
InvalidRSSError
- Object
- StandardError
- Error
- InvalidRSSError
- RSS::MissingAttributeError
- Defined in:
- lib/rss/rss.rb
Instance Attribute Summary (collapse)
-
- (Object) attribute
readonly
Returns the value of attribute attribute.
-
- (Object) tag
readonly
Returns the value of attribute tag.
Instance Method Summary (collapse)
-
- (MissingAttributeError) initialize(tag, attribute)
constructor
A new instance of MissingAttributeError.
Constructor Details
- (MissingAttributeError) initialize(tag, attribute)
A new instance of MissingAttributeError
91 92 93 94 |
# File 'lib/rss/rss.rb', line 91 def initialize(tag, attribute) @tag, @attribute = tag, attribute super("attribute <#{attribute}> is missing in tag <#{tag}>") end |