Exception: IpodDB::NotAnIpod
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- IpodDB::NotAnIpod
- Defined in:
- lib/ipod_db.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NotAnIpod
constructor
A new instance of NotAnIpod.
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 |