Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • rss/rss.rb

Methods

Class/Module Index [+]

Quicksearch

RSS::NotAvailableValueError

Attributes are in key-value form, and if there's no value provided for an attribute, a NotAvailableValueError will be raised.

Attributes

attribute[R]
tag[R]
value[R]

Public Class Methods

new(tag, value, attribute=nil) click to toggle source
 
               # File rss/rss.rb, line 154
def initialize(tag, value, attribute=nil)
  @tag, @value, @attribute = tag, value, attribute
  message = "value <#{value}> of "
  message << "attribute <#{attribute}> of " if attribute
  message << "tag <#{tag}> is not available."
  super(message)
end