Sha256: b2bec1c37b7f87b5e529d97922238e73e7740b0a1059aea433c7f05e5d11ff8b

Contents?: true

Size: 674 Bytes

Versions: 1

Compression:

Stored size: 674 Bytes

Contents

# Returns the version of the currently loaded gem as a <tt>Gem::Version</tt>
module EnhancedDateSelect
  #  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 = 1
    # the minor version of the gem
    MINOR = 4
    # the tiny version of the gem
    TINY = 4
    # if the version should be a e
    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
enhanced_date_select-1.4.4 lib/version.rb