Exception: RSS::OverlappedPrefixError
- Defined in:
- lib/rss/rss.rb
Overview
RSS, being an XML-based format, has namespace support. If two namespaces are declared with the same name, an OverlappedPrefixError will be raised.
Instance Attribute Summary collapse
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
Instance Method Summary collapse
-
#initialize(prefix) ⇒ OverlappedPrefixError
constructor
A new instance of OverlappedPrefixError.
Constructor Details
#initialize(prefix) ⇒ OverlappedPrefixError
Returns a new instance of OverlappedPrefixError.
85 86 87 |
# File 'lib/rss/rss.rb', line 85 def initialize(prefix) @prefix = prefix end |
Instance Attribute Details
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
84 85 86 |
# File 'lib/rss/rss.rb', line 84 def prefix @prefix end |