1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Provides ruby2_keywords

So that requiring it succeeds even if that forward compatibility
gem is not installed.
This commit is contained in:
Nobuyoshi Nakada 2019-10-23 00:19:25 +09:00
parent 8390057d1e
commit 51bab75f49
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -86,6 +86,8 @@ Init_version(void)
* The version of the engine or interpreter this ruby uses.
*/
rb_define_global_const("RUBY_ENGINE_VERSION", (1 ? version : MKSTR(version)));
rb_provide("ruby2_keywords.rb");
}
#if USE_MJIT