Exception: Ruby2D::UnknownImageFileError

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

Overview

Error finding image file

Instance Method Summary collapse

Constructor Details

#initialize(file_path) ⇒ UnknownImageFileError

Returns a new instance of UnknownImageFileError.



15
16
17
# File 'lib/ruby2d/pixmap.rb', line 15

def initialize(file_path)
  super "Cannot find image file `#{file_path}`"
end