summaryrefslogtreecommitdiff
path: root/lib/oxidized/node
diff options
context:
space:
mode:
authorKodApa85 <parsons151185@gmail.com>2018-04-27 13:48:47 +0100
committerGitHub <noreply@github.com>2018-04-27 13:48:47 +0100
commita40bb72e78755891ec84f5a4378c30114dae8316 (patch)
tree5e057527f163fa1bea10cbdc7318b035ff939200 /lib/oxidized/node
parentdbbe6af563072b62e373a9824c6a23482d20896e (diff)
parentf530a50a949310aa9996d764eeaaba7458b7d6b6 (diff)
Merge branch 'master' into xgs4600-cli
Diffstat (limited to 'lib/oxidized/node')
-rw-r--r--lib/oxidized/node/stats.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/oxidized/node/stats.rb b/lib/oxidized/node/stats.rb
index 6b5719c..2c04a60 100644
--- a/lib/oxidized/node/stats.rb
+++ b/lib/oxidized/node/stats.rb
@@ -18,7 +18,7 @@ module Oxidized
# @param [Symbol] status stats for specific status
# @return [Hash,Array] Hash of stats for every status or Array of stats for specific status
- def get status=nil
+ def get status = nil
status ? @stats[status] : @stats
end
@@ -27,7 +27,6 @@ module Oxidized
def initialize
@stats = {}
end
-
end
end
end