lib/coltrane/errors.rb in coltrane-1.1.2 vs lib/coltrane/errors.rb in coltrane-1.2.0
- old
+ new
@@ -32,11 +32,11 @@
super "#{notes} are not a valid set of notes"
end
end
class HasNoNotesError < BadConstructorError
- def initialize(obj)
- super "The given object (#{obj.inspect} does not respond to :notes, "\
+ def initialize
+ super "The given object does not respond to :notes, "\
"thereby it can't be used for this operation)"
end
end
class WrongDegreeError