Attributes are in key-value form, and if there’s no value provided for an attribute, a NotAvailableValueError
will be raised.
Attributes
Read
No documentation available
Read
No documentation available
Read
No documentation available
Class Methods
lib/rss/rss.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/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
No documentation available