class Cucumber::Core::Ast::Step
def actual_keyword(previous_step_keyword = nil)
def actual_keyword(previous_step_keyword = nil) if [language.and_keywords, language.but_keywords].flatten.uniq.include? keyword if previous_step_keyword.nil? language.given_keywords.reject{|kw| kw == '* '}[0] else previous_step_keyword end else keyword end end
def backtrace_line
def backtrace_line "#{location}:in `#{keyword}#{text}'" end
def children
def children [@multiline_arg] end
def description_for_visitors
def description_for_visitors :step end
def initialize(language, location, comments, keyword, text, multiline_arg)
def initialize(language, location, comments, keyword, text, multiline_arg) @language, @location, @comments, @keyword, @text, @multiline_arg = language, location, comments, keyword, text, multiline_arg end
def inspect
def inspect keyword_and_text = [keyword, text].join(": ") %{#<#{self.class} "#{keyword_and_text}" (#{location})>} end
def to_s
def to_s text end