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.



88
89
90
# File 'lib/rss/rss.rb', line 88

def initialize(prefix)
  @prefix = prefix
end

Instance Attribute Details

#prefixObject (readonly)

Returns the value of attribute prefix.



87
88
89
# File 'lib/rss/rss.rb', line 87

def prefix
  @prefix
end