Exception: Coltrane::Theory::HasNoNotesError
- Inherits:
-
BadConstructorError
- Object
- StandardError
- TheoryError
- BadConstructorError
- Coltrane::Theory::HasNoNotesError
- Defined in:
- lib/coltrane/theory/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ HasNoNotesError
constructor
A new instance of HasNoNotesError.
Constructor Details
#initialize ⇒ HasNoNotesError
Returns a new instance of HasNoNotesError.
44 45 46 47 |
# File 'lib/coltrane/theory/errors.rb', line 44 def initialize super 'The given object does not respond to :notes, '\ "thereby it can't be used for this operation)" end |