Exception: RSS::OverlappedPrefixError

Inherits:
Error
  • Object
show all
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

Instance Method Summary collapse

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

#prefixObject (readonly)

Returns the value of attribute prefix.



84
85
86
# File 'lib/rss/rss.rb', line 84

def prefix
  @prefix
end