Method: Inspec::Resources::Bash#initialize
- Defined in:
- lib/resources/bash.rb
#initialize(command, options = {}) ⇒ Bash
Returns a new instance of Bash.
25 26 27 28 29 |
# File 'lib/resources/bash.rb', line 25 def initialize(command, = {}) @raw_command = command [:shell] = 'bash' if .is_a?(Hash) super(CommandWrapper.wrap(command, )) end |