Exception: Coltrane::InvalidNoteError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- ColtraneError
- BadConstructorError
- Coltrane::InvalidNoteError
- Defined in:
- lib/coltrane/errors.rb
Instance Method Summary collapse
-
#initialize(note) ⇒ InvalidNoteError
constructor
A new instance of InvalidNoteError.
Constructor Details
#initialize(note) ⇒ InvalidNoteError
Returns a new instance of InvalidNoteError.
31 32 33 |
# File 'lib/coltrane/errors.rb', line 31 def initialize(note) super "#{note} is not a valid note" end |