From 7312e8ef0d10d8846c69d6962e98a450e6950bc9 Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Mon, 23 Nov 2015 11:23:59 -0500 Subject: use paranthesis for method call --- lib/oxidized/model/junos.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb index 6ba18ad..949a757 100644 --- a/lib/oxidized/model/junos.rb +++ b/lib/oxidized/model/junos.rb @@ -42,8 +42,8 @@ class JunOS < Oxidized::Model end cmd('show chassis environment') do |cfg| - cfg.gsub! /\d+ degrees.* F/, '' - cfg.gsub! /Spinning at \S+/, '' + cfg.gsub!(/\d+ degrees.* F/, '') + cfg.gsub!(/Spinning at \S+/, '') comment cfg end cmd('show chassis firmware') { |cfg| comment cfg } -- cgit v1.2.1