Exception: Coltrane::Theory::InvalidPitchClassError
- Inherits:
-
TheoryError
- Object
- StandardError
- TheoryError
- Coltrane::Theory::InvalidPitchClassError
- Defined in:
- lib/coltrane/theory/errors.rb
Instance Method Summary collapse
-
#initialize(arg) ⇒ InvalidPitchClassError
constructor
A new instance of InvalidPitchClassError.
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 |