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