lib/ddmetrics/metric.rb in ddmetrics-1.0.1 vs lib/ddmetrics/metric.rb in ddmetrics-1.1.0
- old
+ new
@@ -28,9 +28,10 @@
end
# @api private
def validate_label(label)
return if label.is_a?(Hash)
+
raise ArgumentError, 'label argument must be a hash'
end
end
end