Exception: MIME::Type::InvalidEncoding
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- MIME::Type::InvalidEncoding
- Defined in:
- lib/mime/type.rb
Overview
Reflects an unsupported MIME encoding.
Instance Method Summary collapse
-
#initialize(encoding) ⇒ InvalidEncoding
constructor
:stopdoc:.
- #to_s ⇒ Object
Constructor Details
#initialize(encoding) ⇒ InvalidEncoding
:stopdoc:
47 48 49 |
# File 'lib/mime/type.rb', line 47 def initialize(encoding) @encoding = encoding end |
Instance Method Details
#to_s ⇒ Object
51 52 53 |
# File 'lib/mime/type.rb', line 51 def to_s "Invalid Encoding #{@encoding.inspect}" end |