Answers for "ruby version select"

1

ruby version from script

There is a RUBY_PATCHLEVEL constant as well. So you can get your version string as

p "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"

--iltempo
Posted by: Guest on January-29-2021
0

ruby latest version

The current stable version of ruby is 3.1.2.
Posted by: Guest on April-23-2022

Browse Popular Code Answers by Language