Exception: ArTTY::Error::ArtNotFound

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

Instance Method Summary collapse

Constructor Details

#initialize(art = nil) ⇒ ArtNotFound

Returns a new instance of ArtNotFound.



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

def initialize(art = nil)
    super("Art not found: #{art}") if (art && !art.empty?)
    super("Art not found") if (art.nil?)
end