class Inspec::Resources::Bash
Public Class Methods
new(command, options = {})
click to toggle source
Calls superclass method
# File lib/inspec/resources/bash.rb, line 23 def initialize(command, options = {}) @raw_command = command options[:shell] = "bash" if options.is_a?(Hash) super(CommandWrapper.wrap(command, options)) end
Public Instance Methods
to_s()
click to toggle source
# File lib/inspec/resources/bash.rb, line 29 def to_s "Bash command #{@raw_command}" end