diff options
| author | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-11-23 11:23:59 -0500 | 
|---|---|---|
| committer | Elvin Efendi <elvin.efendiev@shopify.com> | 2015-11-23 11:23:59 -0500 | 
| commit | 7312e8ef0d10d8846c69d6962e98a450e6950bc9 (patch) | |
| tree | 97e6d819b0ce615bf10dcb2ce35f37b54b316a51 /lib/oxidized/model | |
| parent | 13d89b7e1a4f91728e528a5290779bcf4b645a6a (diff) | |
use paranthesis for method call
Diffstat (limited to 'lib/oxidized/model')
| -rw-r--r-- | lib/oxidized/model/junos.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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/, '<measurement stripped>' -    cfg.gsub! /Spinning at \S+/, '<measurement stripped>' +    cfg.gsub!(/\d+ degrees.* F/, '<measurement stripped>') +    cfg.gsub!(/Spinning at \S+/, '<measurement stripped>')      comment cfg    end    cmd('show chassis firmware') { |cfg| comment cfg } | 
