Sha256: 7f8fb7e367f9c691b2d2881ffb26ecf1105b3dfe9467557078a395a091fc89fb
Contents?: true
Size: 679 Bytes
Versions: 1
Compression:
Stored size: 679 Bytes
Contents
# Returns the version of the currently loaded gem as a <tt>Gem::Version</tt> module WashoutBuilder # Returns the version of the currently loaded gem as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end # the module that is used to generate the gem version module VERSION # the major version of the gem MAJOR = 2 # the minor version of the gem MINOR = 0 # the tiny version of the gem TINY = 4 # if the version should be a prerelease PRE = nil # the full version of the gem composed from major minor tiny and prerelease versions STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
washout_builder-2.0.4 | lib/washout_builder/version.rb |