diff options
author | Timm <kaspth@gmail.com> | 2013-08-16 22:22:22 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-16 21:04:09 +0200 |
commit | 5169b00330584f88a109f12cdc334219114e7c5e (patch) | |
tree | 816ef384e1ce76caed25ad4f3514c343381b9964 /actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb | |
parent | e600b3a34116d90b9df5c9bf359e05564999b359 (diff) | |
download | rails-5169b00330584f88a109f12cdc334219114e7c5e.tar.gz rails-5169b00330584f88a109f12cdc334219114e7c5e.tar.bz2 rails-5169b00330584f88a109f12cdc334219114e7c5e.zip |
Extracted: create Regexp from match_with and use =~ to compare instead of checking .is_a? Regexp every time through the loop.
Diffstat (limited to 'actionview/lib/action_view/helpers/sanitize_helper/scrubbers.rb')
0 files changed, 0 insertions, 0 deletions