Exception: Baha::ImageNotFoundError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Baha::ImageNotFoundError
- Defined in:
- lib/baha/image.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
readonly
Returns the value of attribute image.
Instance Method Summary collapse
-
#initialize(image) ⇒ ImageNotFoundError
constructor
A new instance of ImageNotFoundError.
Constructor Details
#initialize(image) ⇒ ImageNotFoundError
Returns a new instance of ImageNotFoundError.
9 10 11 12 |
# File 'lib/baha/image.rb', line 9 def initialize(image) super("Unable to locate image : #{image[:name]}:#{image[:tag]}") @image = image end |
Instance Attribute Details
#image ⇒ Object (readonly)
Returns the value of attribute image.
8 9 10 |
# File 'lib/baha/image.rb', line 8 def image @image end |