Exception: PNGlitch::FormatError
- Inherits:
-
StandardError
- Object
- StandardError
- PNGlitch::FormatError
- Defined in:
- lib/pnglitch/errors.rb
Instance Method Summary collapse
-
#initialize(filename) ⇒ FormatError
constructor
A new instance of FormatError.
Constructor Details
#initialize(filename) ⇒ FormatError
Returns a new instance of FormatError.
31 32 33 34 |
# File 'lib/pnglitch/errors.rb', line 31 def initialize filename m = 'The passed file seems different from a PNG file - ' + filename super m end |