Class: InspecPlugins::Example::CliCommand
- Inherits:
-
Object
- Object
- InspecPlugins::Example::CliCommand
- Defined in:
- lib/inspec-plugin-example/cli.rb
Overview
Note two-arg form
Instance Method Summary collapse
Instance Method Details
#control ⇒ Object
38 39 40 41 |
# File 'lib/inspec-plugin-example/cli.rb', line 38 def control Inspec::Log.level = :debug if [:debug] Example::Control.print() end |
#version ⇒ Object
21 22 23 24 25 |
# File 'lib/inspec-plugin-example/cli.rb', line 21 def version Inspec::Log.level = :debug if [:debug] Inspec::Log.debug 'Example::Version debugging message' say("InSpec Example Plugin v#{Example::VERSION}") end |