Exception: Coltrane::Theory::InvalidPitchClassError

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

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ InvalidPitchClassError

Returns a new instance of InvalidPitchClassError.



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

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