runtime/release_named.rb
tests/_examples/runtime/release_named.rb in the metorex repository.
# The release metorex reports is the MRI release it follows.
p(RUBY_VERSION)
p(RUBY_PATCHLEVEL)
p(RUBY_RELEASE_DATE)
p(Ruby::VERSION == RUBY_VERSION)
Output:
"4.0.6"
0
"2026-07-14"
true