Exception: Ruby2D::UnknownImageFileError
- Defined in:
- lib/ruby2d/pixmap.rb
Overview
Error finding image file
Instance Method Summary collapse
-
#initialize(file_path) ⇒ UnknownImageFileError
constructor
A new instance of UnknownImageFileError.
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 |