current version of ruby code example
Example: how to check ruby version
// Command line:
$ ruby -v
// Within irb type "RUBY_VERSION"
# => "2.4.1"
// If using RVM:
$ rvm current
# => ruby-2.4.1
// Command line:
$ ruby -v
// Within irb type "RUBY_VERSION"
# => "2.4.1"
// If using RVM:
$ rvm current
# => ruby-2.4.1