Exception: Coltrane::Theory::InvalidNotesError

Inherits:
BadConstructorError show all
Defined in:
lib/coltrane/theory/errors.rb

Instance Method Summary collapse

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