method

sanitize

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

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# 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
Register or log in to add new notes.