Exception: RSS::UnsupportedMakerVersionError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ UnsupportedMakerVersionError

Returns a new instance of UnsupportedMakerVersionError.



158
159
160
161
# File 'lib/rss/rss.rb', line 158

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

Instance Attribute Details

#versionObject (readonly)

Returns the value of attribute version.



157
158
159
# File 'lib/rss/rss.rb', line 157

def version
  @version
end