Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more

In Files

  • rss/rss.rb

Methods

Class/Module Index [+]

Quicksearch

RSS::NotAvailableValueError

Raised when an incorrect value is used.

Attributes

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

Public Class Methods

new(tag, value, attribute=nil) click to toggle source
 
               # File rss/rss.rb, line 135
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