QP School

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.
To get the currently installed Ruby version you'll just need the following code:


Quote:puts "Ruby version: " +RUBY_VERSION