Exception: Coltrane::InvalidPitchClassError

Inherits:
ColtraneError
  • Object
show all
Defined in:
lib/coltrane/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ InvalidPitchClassError

Returns a new instance of InvalidPitchClassError.



76
77
78
79
# File 'lib/coltrane/errors.rb', line 76

def initialize(arg)
  super "The given frequency(#{arg}) is not considered "\
        'part of a pitch class'\
end