Exception: MIME::Type::InvalidEncoding

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/mime/type.rb

Overview

Reflects an unsupported MIME encoding.

Instance Method Summary collapse

Constructor Details

#initialize(encoding) ⇒ InvalidEncoding

:stopdoc:



87
88
89
# File 'lib/mime/type.rb', line 87

def initialize(encoding)
  @encoding = encoding
end

Instance Method Details

#to_sObject



91
92
93
# File 'lib/mime/type.rb', line 91

def to_s
  "Invalid Encoding #{@encoding.inspect}"
end