Class: LenovoNOS

Inherits:
Oxidized::Model show all
Defined in:
lib/oxidized/model/lenovonos.rb

Constant Summary

Constants inherited from Oxidized::Model

Oxidized::Model::METADATA_DEFAULT

Instance Attribute Summary

Attributes inherited from Oxidized::Model

#input, #node

Instance Method Summary collapse

Methods inherited from Oxidized::Model

cfg, #cfg, cfgs, clean, cmd, #cmd, cmds, comment, #comment, #expect, expect, expects, #expects, #get, inherited, #interpolate_string, metadata, #metadata, #output, post, pre, prompt, #prompt, #screenscrape, #send, #xmlcomment

Methods included from Oxidized::Config::Vars

#vars

Instance Method Details

#comment_ext(header, output) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/oxidized/model/lenovonos.rb', line 7

def comment_ext(header, output)
  data = ''
  data << header
  data << "\n"
  data << output
  data << "\n"
  comment data
end