class Cucumber::Core::Test::Step

def action_location

def action_location
  @action.location
end

def backtrace_line

def backtrace_line
  "#{location}:in `#{text}'"
end

def describe_to(visitor, *args)

def describe_to(visitor, *args)
  visitor.test_step(self, *args)
end

def execute(*args)

def execute(*args)
  @action.execute(*args)
end

def hook?

def hook?
  false
end

def initialize(text, location, multiline_arg = Test::EmptyMultilineArgument.new, action = Test::UndefinedAction.new(location))

def initialize(text, location, multiline_arg = Test::EmptyMultilineArgument.new, action = Test::UndefinedAction.new(location))
  raise ArgumentError if text.nil? || text.empty?
  @text = text
  @location = location
  @multiline_arg = multiline_arg
  @action = action
end

def inspect

def inspect
  "#<#{self.class}: #{location}>"
end

def skip(*args)

def skip(*args)
  @action.skip(*args)
end

def to_s

def to_s
  text
end

def with_action(action_location = nil, &block)

def with_action(action_location = nil, &block)
  self.class.new(text, location, multiline_arg, Test::Action.new(action_location, &block))
end