Exception: RSS::UnknownTagError

Inherits:
InvalidRSSError show all
Defined in:
lib/rss/rss.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (UnknownTagError) initialize(tag, uri)

A new instance of UnknownTagError



99
100
101
102
# File 'lib/rss/rss.rb', line 99

def initialize(tag, uri)
  @tag, @uri = tag, uri
  super("tag <#{tag}> is unknown in namespace specified by uri <#{uri}>")
end

Instance Attribute Details

- (Object) tag (readonly)

Returns the value of attribute tag



98
99
100
# File 'lib/rss/rss.rb', line 98

def tag
  @tag
end

- (Object) uri (readonly)

Returns the value of attribute uri



98
99
100
# File 'lib/rss/rss.rb', line 98

def uri
  @uri
end