Sha256: 6ae4043578403e4838db35cd8d008de88673ee2c1b8b1c6e4732aea49b5a0e31

Contents?: true

Size: 520 Bytes

Versions: 1

Compression:

Stored size: 520 Bytes

Contents

# frozen_string_literal: true

# The gem module.
module JabberAdmin
  # The version constant of the gem. Increase this value
  # in case of a gem release.
  VERSION = '1.0.1'

  class << self
    # Returns the version of gem as a string.
    #
    # @return [String] the gem version as string
    def version
      VERSION
    end

    # Returns the version of the gem as a +Gem::Version+.
    #
    # @return [Gem::Version] the gem version as object
    def gem_version
      Gem::Version.new VERSION
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jabber_admin-1.0.1 lib/jabber_admin/version.rb