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.2.9/lib/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