source

rxp.source รข str
Instance Public methods

Returns the original string of the pattern.

/ab+c/ix.source #=> "ab+c"

Note that escape sequences are retained as is.

/\x20\+/.source  #=> "\\x20\\+"
doc_ruby_on_rails
2015-05-05 05:21:54
Comments
Leave a Comment

Please login to continue.