# File lib/backports/1.9.1/regexp/try_convert.rb, line 4 def Regexp.try_convert(obj) Backports.try_convert(obj, Regexp, :to_regexp) end