~

~ rxp â integer or nil
Instance Public methods

MatchâMatches rxp against the contents of $_. Equivalent to rxp =~ $_.

1
2
$_ = "input data"
~ /at/   #=> 7
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.