From 3982950e6106d45811a396a6a7478eeeee2817d7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 17 Sep 2016 15:32:44 +0100 Subject: rubocop --auto-correct all hash-rocket usage. --- Library/Homebrew/utils/analytics.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Library/Homebrew/utils/analytics.rb') diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index a72850655..e176f0566 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -55,10 +55,10 @@ module Utils def report_event(category, action, label = os_prefix_ci, value = nil) report(:event, - :ec => category, - :ea => action, - :el => label, - :ev => value) + ec: category, + ea: action, + el: label, + ev: value) end def report_exception(exception, options = {}) @@ -69,12 +69,12 @@ module Utils fatal = options.fetch(:fatal, true) ? "1" : "0" report(:exception, - :exd => exception.class.name, - :exf => fatal) + exd: exception.class.name, + exf: fatal) end def report_screenview(screen_name) - report(:screenview, :cd => screen_name) + report(:screenview, cd: screen_name) end end end -- cgit v1.2.3