Exception: ArTTY::Error::ImageNamedImproperly

Inherits:
ArTTY::Error
  • Object
show all
Defined in:
lib/arTTY/error/image_named_improperly.rb

Instance Method Summary collapse

Constructor Details

#initialize(fn = nil) ⇒ ImageNamedImproperly

Returns a new instance of ImageNamedImproperly.



2
3
4
5
# File 'lib/arTTY/error/image_named_improperly.rb', line 2

def initialize(fn = nil)
    super("Image named wrong: #{fn}") if (fn && !fn.empty?)
    super("Image named wrong") if (fn.nil?)
end