class Cucumber::Core::Test::Action
def initialize(location = nil, &block)
def initialize(location = nil, &block) raise ArgumentError, "Passing a block to execute the action is mandatory." unless block @location = location ? location : Test::Location.new(*block.source_location) @block = block @timer = Timer.new end