Class: NXOS
- Inherits:
-
Oxidized::Model
- Object
- Oxidized::Model
- NXOS
- Defined in:
- lib/oxidized/model/nxos.rb
Instance Attribute Summary
Attributes inherited from Oxidized::Model
Instance Method Summary collapse
Methods inherited from Oxidized::Model
cfg, #cfg, cfgs, cmd, #cmd, cmds, comment, #comment, expect, #expect, expects, #expects, #get, inherited, #output, post, pre, prompt, #prompt, #screenscrape, #send, #xmlcomment
Methods included from Oxidized::Config::Vars
Instance Method Details
#filter(cfg) ⇒ Object
7 8 9 10 |
# File 'lib/oxidized/model/nxos.rb', line 7 def filter(cfg) cfg.gsub! /\r\n?/, "\n" cfg.gsub! prompt, '' end |