method

sanitize

rspec latest stable - Class: Spec::Story::Step

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

sanitize(a_string_or_regexp)
private

No documentation available.

# File lib/spec/story/step.rb, line 31
      def sanitize(a_string_or_regexp)
        return a_string_or_regexp.source if Regexp == a_string_or_regexp
        a_string_or_regexp.to_s
      end