lib/oxidized/model/fortiwlc.rb in oxidized-0.29.0 vs lib/oxidized/model/fortiwlc.rb in oxidized-0.29.1
- old
+ new
@@ -1,5 +1,7 @@
class FortiWLC < Oxidized::Model
+ using Refinements
+
comment '# '
cmd :all do |cfg, cmdstring|
new_cfg = comment "COMMAND: #{cmdstring}\n"
new_cfg << cfg.each_line.to_a[1..-2].map { |line| line.gsub(/(conf_file_ver=)(.*)/, '\1<stripped>\3') }.join