Sha256: b6b32f96f5904f60f4f433c4fdf4a1a1b39fb0e011fa679b899d96094cc25691

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

# frozen_string_literal: true

# The gem version details.
module JabberAdmin
  # The version of the +jabber_admin+ gem
  VERSION = '1.2.0'

  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.2.0 lib/jabber_admin/version.rb