📅  最后修改于: 2022-03-11 15:04:45.344000             🧑  作者: Mango
There is a RUBY_PATCHLEVEL constant as well. So you can get your version string as
p "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
--iltempo