Class: Openbsd
- Inherits:
-
Oxidized::Model
- Object
- Oxidized::Model
- Openbsd
- Defined in:
- lib/oxidized/model/openbsd.rb
Instance Attribute Summary
Attributes inherited from Oxidized::Model
Instance Method Summary collapse
-
#add_comment(comment) ⇒ Object
Add a comment between files/configs.
- #add_small_comment(comment) ⇒ Object
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
#add_comment(comment) ⇒ Object
Add a comment between files/configs
12 13 14 |
# File 'lib/oxidized/model/openbsd.rb', line 12 def add_comment(comment) "\n+++++++++++++++++++++++++++++++++++++++++ #{comment} ++++++++++++++++++++++++++++++++++++++++++++++\n" end |
#add_small_comment(comment) ⇒ Object
16 17 18 |
# File 'lib/oxidized/model/openbsd.rb', line 16 def add_small_comment(comment) "\n=============== #{comment} ===============\n" end |