summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/dlink.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/dlink.rb')
-rw-r--r--lib/oxidized/model/dlink.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/dlink.rb b/lib/oxidized/model/dlink.rb
index 0d08793..6c604fb 100644
--- a/lib/oxidized/model/dlink.rb
+++ b/lib/oxidized/model/dlink.rb
@@ -11,7 +11,7 @@ class Dlink < Oxidized::Model
end
cmd :all do |cfg|
- cfg.each_line.to_a[2..-2].map{|line|line.delete("\r").rstrip}.join("\n") + "\n"
+ cfg.each_line.to_a[2..-2].map { |line| line.delete("\r").rstrip }.join("\n") + "\n"
end
cmd 'show switch' do |cfg|