Module: ClosureForwardable::Version

Defined in:
lib/closure_forwardable/version.rb

Overview

Version information about ClosureForwardable. We follow semantic versioning

Constant Summary collapse

MAJOR =

MAJOR version. It is incremented after incompatible API changes

0
MINOR =

MINOR version. It is incremented after adding functionality in a backwards-compatible manner

1
PATCH =

PATCH version. It is incremented when making backwards-compatible bug-fixes.

0
STRING =

A standard string representation of the version parts

[MAJOR, MINOR, PATCH].compact.join('.').freeze

Class Method Summary collapse

Class Method Details

.gem_versionGem::Version


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

def self.gem_version
  Gem::Version.new to_s
end

.to_sString


25
26
27
# File 'lib/closure_forwardable/version.rb', line 25

def self.to_s
  STRING
end