Exception: Baha::ImageNotFoundError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/baha/image.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#imageObject (readonly)

Returns the value of attribute image.



8
9
10
# File 'lib/baha/image.rb', line 8

def image
  @image
end