diff options
author | Benoit Daloze <[email protected]> | 2021-06-25 13:38:01 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-07-27 16:54:27 +0900 |
commit | 1cf111774f03c6d1ddba735cb8cc79483f16f699 () | |
tree | b90249839fb24c0d350544eda50666e95c5d968b /lib/uri/mailto.rb | |
parent | 090d799c2496f4c0e1f25c9970f4015fc693ff0e (diff) |
[ruby/uri] Add proper Ractor support to URI
* Using a module to map scheme name to scheme class, which also works with Ractor. * No constant redefinition, no ObjectSpace, still fast lookup for initial schemes. https://.com/ruby/uri/commit/883567fd81
-rw-r--r-- | lib/uri/mailto.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -289,5 +289,5 @@ module URI alias to_rfc822text to_mailtext end - @@schemes['MAILTO'] = MailTo end |