site/versions.rb
tests/_examples/site/versions.rb in the metorex repository.
require "rspec/core"
p [RUBY_ENGINE, RUBY_VERSION, RUBY_ENGINE_VERSION]
puts RSpec::Core::Version::STRING
Output:
["ruby", "4.0.6", "4.0.6"]
3.13.6
tests/_examples/site/versions.rb in the metorex repository.
require "rspec/core"
p [RUBY_ENGINE, RUBY_VERSION, RUBY_ENGINE_VERSION]
puts RSpec::Core::Version::STRING
Output:
["ruby", "4.0.6", "4.0.6"]
3.13.6