Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RUBY_ENGINE_VERSION as companion to RUBY_ENGINE #2751

Closed
enebo opened this issue Mar 24, 2015 · 0 comments
Closed

Make RUBY_ENGINE_VERSION as companion to RUBY_ENGINE #2751

enebo opened this issue Mar 24, 2015 · 0 comments

Comments

@enebo
Copy link
Member

enebo commented Mar 24, 2015

RUBY_ENGINE was originally added so that library authors could check which implementation they were using. RUBY_ENGINE_VERSION is a companion variable which can be used by authors to check which version of that implementation is being used.

RUBY_ENGINE_VERSION # => "1.7.20"
@enebo enebo closed this as completed in a7bfa0d Mar 24, 2015
enebo added a commit that referenced this issue Mar 24, 2015
Fixes #2751

Conflicts:
	core/src/main/java/org/jruby/RubyGlobal.java
	core/src/main/java/org/jruby/ext/bigdecimal/RubyBigDecimal.java
	test/test_big_decimal.rb
	test/test_bignum.rb
@enebo enebo added this to the 9.0.0.0.pre2 milestone Apr 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant