class Rspec::Bash::CallConfigurationManager
Public Class Methods
new()
click to toggle source
# File lib/rspec/bash/command/call_configuration_manager.rb, line 4 def initialize @call_confs = Hash.new { |hash, key| hash[key] = CallConfiguration.new } end
Public Instance Methods
add_output(command, output, target, args)
click to toggle source
# File lib/rspec/bash/command/call_configuration_manager.rb, line 13 def add_output(command, output, target, args) @call_confs[command] .add_output(output, target, args) end
get_best_call_conf(command, args)
click to toggle source
# File lib/rspec/bash/command/call_configuration_manager.rb, line 18 def get_best_call_conf(command, args) @call_confs[command] .get_best_call_conf(args) end
set_exitcode(command, exitcode, args)
click to toggle source
# File lib/rspec/bash/command/call_configuration_manager.rb, line 8 def set_exitcode(command, exitcode, args) @call_confs[command] .set_exitcode(exitcode, args) end