diff options
author | Saku Ytti <saku@ytti.fi> | 2018-05-30 20:04:36 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2018-05-30 20:04:36 +0300 |
commit | cb2b0ceb1c928ac4ab1718bf0a23e9763df614ea (patch) | |
tree | ecbcffe25270ed09e140906821a613c3cfe5d21f /lib/oxidized/input/http.rb | |
parent | c511a212c1388db35f0f42af2a33241986846e04 (diff) |
rubocop fixes
Diffstat (limited to 'lib/oxidized/input/http.rb')
-rw-r--r-- | lib/oxidized/input/http.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/oxidized/input/http.rb b/lib/oxidized/input/http.rb index c7767b3..77ea44e 100644 --- a/lib/oxidized/input/http.rb +++ b/lib/oxidized/input/http.rb @@ -22,8 +22,8 @@ module Oxidized login end - def cmd cb - instance_exec(&cb) + def cmd callback + instance_exec(&callback) end private @@ -36,6 +36,5 @@ module Oxidized ensure @log.close if Oxidized.config.input.debug? end - end end |