class Cucumber::Core::Test::Step
def describe_source_to(visitor, *args)
def describe_source_to(visitor, *args) source.each do |node| node.describe_to(visitor, *args) end end
def describe_to(visitor, *args)
def describe_to(visitor, *args) visitor.test_step(self, *args) end
def execute
def execute @mapping.execute end
def initialize(source, mapping = Test::UndefinedMapping.new)
def initialize(source, mapping = Test::UndefinedMapping.new) raise ArgumentError if source.any?(&:nil?) @mapping = mapping super(source) end
def inspect
def inspect "#{self.class}: #{location}" end
def location
def location step.location end
def map(&block)
def map(&block) self.class.new(source, Test::Mapping.new(&block)) end
def match_locations?(queried_locations)
def match_locations?(queried_locations) return true if queried_locations.include? location source.any? { |s| s.match_locations?(queried_locations) } end
def multiline_arg
def multiline_arg step.multiline_arg end
def name
def name step.name end
def skip
def skip @mapping.skip end
def step
def step source.last end