Sha256: 7ab1cce4364c616ef77a653df5eb5d5fbdb6c2bcdf9fb6e3d1d817ea985cfc5c
Contents?: true
Size: 713 Bytes
Versions: 1
Compression:
Stored size: 713 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true # Returns the version of the gem as a <tt>Gem::Version</tt> module CelluloidPubsub # it prints the gem version as a string # # @return [String] # # @api public def self.gem_version Gem::Version.new VERSION::STRING end # module used to generate the version string # provides a easy way of getting the major, minor and tiny module VERSION # major release version MAJOR = 1 # minor release version MINOR = 1 # tiny release version TINY = 0 # prelease version ( set this only if it is a prelease) PRE = nil # generates the version string STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
celluloid_pubsub-1.1.0 | lib/celluloid_pubsub/version.rb |