class RSS::MissingAttributeError - rss: Ruby Standard Library Documentation

# class RSS::MissingAttributeError

Certain attributes are required on specific tags in an `RSS` feed. If a feed is missing one of these attributes, a `MissingAttributeError` is raised.

### Attributes

attribute[R]
tag[R]

### Public Class Methods

new(tag, attribute) click to toggle source
Calls superclass method

    # File rss-0.3.1/lib/rss/rss.rb, line 120
    def initialize(tag, attribute)
      @tag, @attribute = tag, attribute
      super("attribute <#{attribute}> is missing in tag <#{tag}>")
    end