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/rss.rb, line 138
def initialize(tag, uri, parent)
  @tag, @uri, @parent = tag, uri, parent
  super("tag <{#{uri}}#{tag}> is not expected in tag <#{parent}>")
end