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.
| 87 88 89 | # File 'lib/rss/rss.rb', line 87 def initialize(prefix) @prefix = prefix end | 
Instance Attribute Details
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix.
| 86 87 88 | # File 'lib/rss/rss.rb', line 86 def prefix @prefix end |