Exception: Coltrane::Theory::HasNoNotesError

Inherits:
BadConstructorError show all
Defined in:
lib/coltrane/theory/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeHasNoNotesError

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