lib/new_relic/agent/transaction/segment.rb in newrelic_rpm-3.17.2.327 vs lib/new_relic/agent/transaction/segment.rb in newrelic_rpm-3.18.0.329

- old
+ new

@@ -11,10 +11,10 @@ # unscoped_metrics can be nil, a string, or array. we do this to save # object allocations. if allocations weren't important then we would # initialize it as an array that would be empty, have one item, or many items. attr_reader :unscoped_metrics - def initialize name, unscoped_metrics=nil + def initialize name = nil, unscoped_metrics=nil @unscoped_metrics = unscoped_metrics super name end def record_metrics