Exception: RSS::NSError
- Inherits:
-
InvalidRSSError
- Object
- StandardError
- Error
- InvalidRSSError
- RSS::NSError
- Defined in:
- lib/rss/parser.rb
Instance Attribute Summary collapse
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize(tag, prefix, require_uri) ⇒ NSError
constructor
A new instance of NSError.
Constructor Details
#initialize(tag, prefix, require_uri) ⇒ NSError
Returns a new instance of NSError.
46 47 48 49 50 |
# File 'lib/rss/parser.rb', line 46 def initialize(tag, prefix, require_uri) @tag, @prefix, @uri = tag, prefix, require_uri super("prefix <#{prefix}> doesn't associate uri " << "<#{require_uri}> in tag <#{tag}>") end |
Instance Attribute Details
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
45 46 47 |
# File 'lib/rss/parser.rb', line 45 def prefix @prefix end |
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
45 46 47 |
# File 'lib/rss/parser.rb', line 45 def tag @tag end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
45 46 47 |
# File 'lib/rss/parser.rb', line 45 def uri @uri end |