Exception: Coltrane::Theory::InvalidNotesError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- TheoryError
- BadConstructorError
- Coltrane::Theory::InvalidNotesError
- Defined in:
- lib/coltrane/theory/errors.rb
Instance Method Summary collapse
-
#initialize(notes) ⇒ InvalidNotesError
constructor
A new instance of InvalidNotesError.
Constructor Details
#initialize(notes) ⇒ InvalidNotesError
Returns a new instance of InvalidNotesError.
38 39 40 |
# File 'lib/coltrane/theory/errors.rb', line 38 def initialize(notes) super "#{notes} are not a valid set of notes" end |