class Specinfra::Backend::BeakerDispatch
Public Instance Methods
Source
# File lib/beaker-rspec/helpers/serverspec.rb, line 167 def add_pre_command(cmd) dispatch_method('add_pre_command', cmd) end
Source
# File lib/beaker-rspec/helpers/serverspec.rb, line 163 def build_command(cmd) dispatch_method('build_command', cmd) end
Source
# File lib/beaker-rspec/helpers/serverspec.rb, line 151 def dispatch_method(meth, *args) if get_working_node['platform'].include?('windows') cygwin_backend.send(meth, *args) else exec_backend.send(meth, *args) end end
Source
# File lib/beaker-rspec/helpers/serverspec.rb, line 159 def run_command(cmd, opts = {}) dispatch_method('run_command', cmd, opts) end