QP School
QP School
>
Tutorials
>
Ruby 3 Tutorials, exercises and examples
> Getting the currently installed Ruby version
Full Version:
Getting the currently installed Ruby version
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
Qomplainerz
02-26-2021, 08:23 AM
To get the currently installed Ruby version you'll just need the following code:
Quote:
puts "Ruby version: " +RUBY_VERSION
QP School
>
Tutorials
>
Ruby 3 Tutorials, exercises and examples
> Getting the currently installed Ruby version