Class: Openbsd
- Inherits:
-
Oxidized::Model
- Object
- Oxidized::Model
- Openbsd
- Defined in:
- lib/oxidized/model/openbsd.rb
Constant Summary
Constants inherited from Oxidized::Model
Oxidized::Model::METADATA_DEFAULT
Constants included from Oxidized::Model::Macros
Oxidized::Model::Macros::VERBS
Instance Attribute Summary
Attributes inherited from Oxidized::Model
Attributes included from Oxidized::Model::DSLCommands
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, #cmd, #comment, #expect, #expects, #get, inherited, #interpolate_string, #metadata, #output, #prompt, #screenscrape, #send, #significant_changes, #xmlcomment
Methods included from Oxidized::Model::DSLSetup
#cfg, #cfgs, #comment, #expect, #expects, #input_sequence, #inputs, #metadata, #prompt
Methods included from Oxidized::Model::DSLCommands
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 |