Sha256: ce747738e9575ef072b14b0bb9d3a21e7a7f1ea98be9bdcd3e89a55fe7667163
Contents?: true
Size: 483 Bytes
Versions: 54
Compression:
Stored size: 483 Bytes
Contents
require 'yaml' module RVM module Version # YAML of raw version info VERSION_YAML = YAML.load_file(File.expand_path("../VERSION.yml", File.dirname(__FILE__))) # Current major version of rvm MAJOR = VERSION_YAML[:major] # Current minor version of rvm MINOR = VERSION_YAML[:minor] # Current patch level of rvm PATCH = VERSION_YAML[:patch] # A String with the current rvm version STRING = [MAJOR, MINOR, PATCH].join(".").freeze end end
Version data entries
54 entries across 54 versions & 2 rubygems