123456789_123456789_123456789_123456789_123456789_

Exception: RSS::UnknownTagError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, InvalidRSSError, Error, StandardError
Instance Chain:
self, InvalidRSSError, Error, StandardError
Inherits: RSS::InvalidRSSError
Defined in: lib/rss/rss.rb

Overview

::RSS does not allow for free-form tag names, so if an ::RSS feed contains a tag that we don’t know about, an UnknownTagError is raised.

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(tag, uri) ⇒ UnknownTagError

[ GitHub ]

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

def initialize(tag, uri)
  @tag, @uri = tag, uri
  super("tag <#{tag}> is unknown in namespace specified by uri <#{uri}>")
end

Instance Attribute Details

#tag (readonly)

[ GitHub ]

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

attr_reader :tag, :uri

#uri (readonly)

[ GitHub ]

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

attr_reader :tag, :uri