diff options
Diffstat (limited to 'lib/oxidized/model/weos.rb')
-rw-r--r-- | lib/oxidized/model/weos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/weos.rb b/lib/oxidized/model/weos.rb index 2856666..dcde695 100644 --- a/lib/oxidized/model/weos.rb +++ b/lib/oxidized/model/weos.rb @@ -4,7 +4,7 @@ class WEOS < Oxidized::Model prompt /^(\s[\w.@-]+[#>]\s?)$/ cmd :all do |cfg| - cfg.each_line.to_a[1..-2].join + cfg.cut_both end cmd 'show running-config' do |cfg| |