123456789_123456789_123456789_123456789_123456789_

Exception: RSS::OverlappedPrefixError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error, StandardError
Instance Chain:
self, Error, StandardError
Inherits: RSS::Error
  • Object
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.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(prefix) ⇒ OverlappedPrefixError

[ GitHub ]

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

def initialize(prefix)
  @prefix = prefix
end

Instance Attribute Details

#prefix (readonly)

[ GitHub ]

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

attr_reader :prefix