Exception: Coltrane::Theory::InvalidNoteError

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

Instance Method Summary collapse

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