Exception: Ruby2D::InvalidImageFileError
- Defined in:
- lib/ruby2d/pixmap.rb
Overview
Error when failed to load an image
Instance Method Summary collapse
-
#initialize(file_path) ⇒ InvalidImageFileError
constructor
A new instance of InvalidImageFileError.
Constructor Details
#initialize(file_path) ⇒ InvalidImageFileError
Returns a new instance of InvalidImageFileError.
8 9 10 |
# File 'lib/ruby2d/pixmap.rb', line 8 def initialize(file_path) super("Failed to load image file: #{file_path}") end |