Exception: Berkshelf::UnknownCompressionType
- Inherits:
-
BerkshelfError
- Object
- StandardError
- BerkshelfError
- Berkshelf::UnknownCompressionType
- Defined in:
- lib/berkshelf/errors.rb
Instance Method Summary collapse
-
#initialize(destination) ⇒ UnknownCompressionType
constructor
A new instance of UnknownCompressionType.
- #to_s ⇒ Object
Methods inherited from BerkshelfError
Constructor Details
#initialize(destination) ⇒ UnknownCompressionType
Returns a new instance of UnknownCompressionType.
308 309 310 |
# File 'lib/berkshelf/errors.rb', line 308 def initialize(destination) @destination = destination end |
Instance Method Details
#to_s ⇒ Object
312 313 314 |
# File 'lib/berkshelf/errors.rb', line 312 def to_s "The file at '#{@destination}' is not a known compression type" end |