class RSS::MissingAttributeError

Raised if a required attribute is missing.

Attributes

attribute[R]
tag[R]

Public Class Methods

new(tag, attribute) click to toggle source
Calls superclass method Exception.new
# File lib/rss/rss.rb, line 100
def initialize(tag, attribute)
  @tag, @attribute = tag, attribute
  super("attribute <#{attribute}> is missing in tag <#{tag}>")
end