Exception: RSS::UnsupportedMakerVersionError

Inherits:
Error
  • Object
show all
Defined in:
lib/rss/rss.rb

Overview

Raised when a RSS::Maker attempts to use an unknown maker.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ UnsupportedMakerVersionError

Returns a new instance of UnsupportedMakerVersionError.



198
199
200
201
# File 'lib/rss/rss.rb', line 198

def initialize(version)
  @version = version
  super("Maker doesn't support version: #{@version}")
end

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



197
198
199
# File 'lib/rss/rss.rb', line 197

def version
  @version
end