method
sanitize
1.1.12 -
Show latest stable
- Class:
Spec::Story::Step
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