Sha256: 2d15f5a6e34640bc9c1a58de926c18f639ddbbd22b8a1b4a16e88d7800c00e0c
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module RubySmart module SimpleLogger # Returns the version of the currently loaded module as a <tt>Gem::Version</tt> def self.gem_version Gem::Version.new VERSION::STRING end module VERSION MAJOR = 1 MINOR = 5 TINY = 2 PRE = nil STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") def self.to_s STRING end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_smart-simple_logger-1.5.2 | lib/ruby_smart/simple_logger/gem_version.rb |