Module: Countless

Includes:
Extensions::ConfigurationHandling
Defined in:
lib/countless.rb,
lib/countless/cloc.rb,
lib/countless/version.rb,
lib/countless/statistics.rb,
lib/countless/annotations.rb,
lib/countless/configuration.rb,
lib/countless/extensions/configuration_handling.rb

Overview

The gem version details.

Defined Under Namespace

Modules: Extensions Classes: Annotations, Cloc, Configuration, Statistics

Constant Summary collapse

VERSION =

The version of the countless gem

'1.0.0'

Class Method Summary collapse

Methods included from Extensions::ConfigurationHandling

configuration, configure, reset_configuration!, statistic_directories

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/countless/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/countless/version.rb', line 12

def version
  VERSION
end