Exception: RSS::NSError
- Inherits:
-
InvalidRSSError
- Object
- StandardError
- Error
- InvalidRSSError
- RSS::NSError
- Defined in:
- lib/rss/parser.rb
Instance Attribute Summary (collapse)
-
- (Object) prefix
readonly
Returns the value of attribute prefix.
-
- (Object) tag
readonly
Returns the value of attribute tag.
-
- (Object) uri
readonly
Returns the value of attribute uri.
Instance Method Summary (collapse)
-
- (NSError) initialize(tag, prefix, require_uri)
constructor
A new instance of NSError.
Constructor Details
- (NSError) initialize(tag, prefix, require_uri)
A new instance of NSError
45 46 47 48 49 |
# File 'lib/rss/parser.rb', line 45 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
- (Object) prefix (readonly)
Returns the value of attribute prefix
44 45 46 |
# File 'lib/rss/parser.rb', line 44 def prefix @prefix end |
- (Object) tag (readonly)
Returns the value of attribute tag
44 45 46 |
# File 'lib/rss/parser.rb', line 44 def tag @tag end |
- (Object) uri (readonly)
Returns the value of attribute uri
44 45 46 |
# File 'lib/rss/parser.rb', line 44 def uri @uri end |