Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid ANYARGS deprecation warning on modern Rubies
Rather than using rb_define_global_function, use rb_define_module_function to define the RE2 method on Kernel, avoiding a deprecation warning from https://github.com/ruby/ruby/blob/ec37636ab36af36155faa4dbcfebaa161dcf394d/include/ruby/backward/cxxanyargs.hpp.
- Loading branch information