Sha256: bfab148f5c0e0d0dab937e91f730e6b237ef2408b86d2af17e46aa5ef8f4aacc
Contents?: true
Size: 603 Bytes
Versions: 1
Compression:
Stored size: 603 Bytes
Contents
# frozen_string_literal: true module SmartMachine # Returns the version of the currently loaded SmartMachine as a <tt>Gem::Version</tt>. def self.gem_version Gem::Version.new VERSION::STRING end def self.version self.gem_version.to_s end def self.ruby_version RUBY_VERSION::STRING end module VERSION MAJOR = 1 MINOR = 3 TINY = 0 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end module RUBY_VERSION MAJOR = 2 MINOR = 7 TINY = 7 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
smartmachine-1.3.0 | lib/smart_machine/version.rb |