Exception: Coltrane::InvalidPitchClassError
- Inherits:
-
ColtraneError
- Object
- StandardError
- ColtraneError
- Coltrane::InvalidPitchClassError
- Defined in:
- lib/coltrane/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.
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 |