Exception: RSS::UnsupportedMakerVersionError
- Defined in:
- lib/rss/rss.rb
Overview
Raised when a RSS::Maker attempts to use an unknown maker.
Instance Attribute Summary collapse
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version) ⇒ UnsupportedMakerVersionError
constructor
A new instance of UnsupportedMakerVersionError.
Constructor Details
#initialize(version) ⇒ UnsupportedMakerVersionError
Returns a new instance of UnsupportedMakerVersionError.
196 197 198 199 |
# File 'lib/rss/rss.rb', line 196 def initialize(version) @version = version super("Maker doesn't support version: #{@version}") end |
Instance Attribute Details
#version ⇒ Object (readonly)
Returns the value of attribute version.
195 196 197 |
# File 'lib/rss/rss.rb', line 195 def version @version end |