QP School

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.
To get the currently installed patch level you just need the following code:


Quote:puts "Ruby patch level: "+RUBY_PATCHLEVEL