Exception: Coltrane::Theory::InvalidNoteError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- TheoryError
- BadConstructorError
- Coltrane::Theory::InvalidNoteError
- Defined in:
- lib/coltrane/theory/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.
32 33 34 |
# File 'lib/coltrane/theory/errors.rb', line 32 def initialize(note) super "#{note} is not a valid note" end |