method
sanitize
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Story::Step
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
sanitize(a_string_or_regexp)
public
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