Method: Thermite::Config#ruby_version

Defined in:
lib/thermite/config.rb

#ruby_versionObject

The major and minor version of the Ruby interpreter that's currently running.



74
75
76
77
78
79
# File 'lib/thermite/config.rb', line 74

def ruby_version
  @ruby_version ||= begin
    version_info = rbconfig_ruby_version.split('.')
    "ruby#{version_info[0]}#{version_info[1]}"
  end
end