Sha256: 4a13e40f554ccdb06e9b8573efdc60f987617bac9fbdc6f2eb6d20cb84c71247

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

# frozen_string_literal: true

# The gem version details.
module Alarmable
  # The version of the +alarmable+ gem
  VERSION = '1.2.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
alarmable-1.2.1 lib/alarmable/version.rb