Exception: IpodDB::NotAnIpod

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

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NotAnIpod

Returns a new instance of NotAnIpod.



33
34
35
# File 'lib/ipod_db.rb', line 33

def initialize path
  super "#{path} doesn't appear to be an iPod"
end