Module: RSpec::Bash::Support

Defined in:
lib/rspec/bash/support.rb

Instance Method Summary collapse

Instance Method Details

#a_script(*args) ⇒ Object



4
5
6
# File 'lib/rspec/bash/support.rb', line 4

def a_script(*args)
  Script.new(*args)
end

#run_script(script, args = [], **opts) ⇒ Object



8
9
10
# File 'lib/rspec/bash/support.rb', line 8

def run_script(script, args = [], **opts)
  ScriptEvaluator.new.eval(script, args, opts)
end