lib/bruv.rb in bruv-0.1.0 vs lib/bruv.rb in bruv-0.2.0
- old
+ new
@@ -36,10 +36,11 @@
end
private
def raise_argument_error
- raise BruvArgumentError, 'Number of arguments exceeds number of instance variables.'
+ message = "Number of arguments exceeds number of instance variables for: #{self.class.name}"
+ raise BruvArgumentError, message
end
end
end
end