class Cucumber::Core::Test::Runner::StepRunner::Default
def duration(step_duration, step_result)
def duration(step_duration, step_result) self end
def exception(step_exception, step_result)
def exception(step_exception, step_result) self end
def execute(test_step)
def execute(test_step) status.execute(test_step, self) end
def failed(step_result)
def failed(step_result) @status = Failing.new(step_result) self end
def initialize
def initialize @timer = Timer.new.start end
def passed(step_result)
def passed(step_result) @status = Passing.new self end
def pending(message, step_result)
def pending(message, step_result) @status = Pending.new(step_result) self end
def result
def result status.result(@timer.duration) end
def status
def status @status ||= Unknown.new end
def undefined(step_result)
def undefined(step_result) failed(step_result) self end