Answers for "use ruby version"

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

Browse Popular Code Answers by Language