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:
parent
8390057d1e
commit
51bab75f49
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue