def step_text(options = {})
      options = {:with_keywords => true,
                 :with_arguments => true,
                 :left_delimiter => self.left_delimiter,
                 :right_delimiter => self.right_delimiter}.merge(options)

      final_step = []
      step_text = ''

      step_text += "#{@keyword} " if options[:with_keywords]

      if options[:with_arguments]
        step_text += @base
        final_step << step_text
        final_step.concat(rebuild_block_text(@block)) if @block
      else
        step_text += stripped_step(@base, options[:left_delimiter], options[:right_delimiter])
        final_step << step_text
      end

      final_step
    end
def step_text(options = {})
      options = {:with_keywords => true,
                 :with_arguments => true,
                 :left_delimiter => self.left_delimiter,
                 :right_delimiter => self.right_delimiter}.merge(options)

      final_step = []
      step_text = ''

      step_text += "#{@keyword} " if options[:with_keywords]

      if options[:with_arguments]
        step_text += @base
        final_step << step_text
        final_step.concat(rebuild_block_text(@block)) if @block
      else
        step_text += stripped_step(@base, options[:left_delimiter], options[:right_delimiter])
        final_step << step_text
      end

      final_step
    end
Returns true if the two steps have the same text, minus any keywords
 and arguments, and false otherwise.
 Deprecated

 Returns the entire text of the step. Options can be set to selectively
 exclude certain portions of the text. *left_delimiter* and *right_delimiter*
 are used to determine which parts of the step are arguments.

  a_step = CucumberAnalytics::Step.new("Given *some* step with a block:\n|block line 1|\n|block line 2|")

  a_step.step_text
  #=> ['Given *some* step with a block:', '|block line 1|', '|block line 2|']
  a_step.step_text(:with_keywords => false)
  #=> ['*some* step with a block:', '|block line 1|', '|block line 2|']
  a_step.step_text(:with_arguments => false, :left_delimiter => '*', :right_delimiter => '*')
  #=> ['Given ** step with a block:']
  a_step.step_text(:with_keywords => false, :with_arguments => false, :left_delimiter => '-', :right_delimiter => '-'))
  #=> ['*some* step with a block:']