Object
# File lib/cucumber/wire_support/configuration.rb, line 6 6: def initialize(wire_file) 7: params = YAML.load_file(wire_file) 8: @host = params['host'] 9: @port = params['port'] 10: @timeouts = default_timeouts.merge(params['timeout'] || {}) 11: end
# File lib/cucumber/wire_support/configuration.rb, line 13 13: def timeout(message = nil) 14: return @timeouts[message.to_s] || 3 15: end
# File lib/cucumber/wire_support/configuration.rb, line 19 19: def default_timeouts 20: { 21: 'invoke' => 120, 22: 'begin_scenario' => 120, 23: 'end_scenario' => 120 24: } 25: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.