method

ruby_version

v2_6_3 - Show latest stable - Class: Gem
ruby_version()
public

A Gem::Version for the currently running Ruby.