Module: Alarmable

Extended by:
ActiveSupport::Concern
Defined in:
lib/alarmable.rb,
lib/alarmable/version.rb

Overview

The gem version details.

Constant Summary collapse

VERSION =

The version of the alarmable gem

'2.11.0'

Class Method Summary collapse

Class Method Details

.gem_versionGem::Version

Returns the version of the gem as a Gem::Version.

Returns:

  • (Gem::Version)

    the gem version as object



19
20
21
# File 'lib/alarmable/version.rb', line 19

def gem_version
  Gem::Version.new VERSION
end

.versionString

Returns the version of gem as a string.

Returns:

  • (String)

    the gem version as string



12
13
14
# File 'lib/alarmable/version.rb', line 12

def version
  VERSION
end