method

sanitize

1.1.4 - Show latest stable - Class: Spec::Story::Step
sanitize(a_string_or_regexp)
public

No documentation available.

# File lib/spec/story/step.rb, line 26
      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