class RSS::NotExpectedTagError

Raised when an unexpected tag is encountered.

Attributes

parent[R]
tag[R]
uri[R]

Public Class Methods

new(tag, uri, parent) click to toggle source
Calls superclass method
# File rss-0.3.1/lib/rss/rss.rb, line 139
def initialize(tag, uri, parent)
  @tag, @uri, @parent = tag, uri, parent
  super("tag <{#{uri}}#{tag}> is not expected in tag <#{parent}>")
end