Module: Pocketknife::Version

Defined in:
lib/pocketknife/version.rb

Overview

Version

Information about the Pocketknife version.

Constant Summary collapse

MAJOR =

Returns Major version.

Returns:

  • (Integer)

    Major version.

0
MINOR =

Returns Minor version.

Returns:

  • (Integer)

    Minor version.

2
PATCH =

Returns Patch version.

Returns:

  • (Integer)

    Patch version.

0
BUILD =

Returns Build version.

Returns:

  • (Integer)

    Build version.

nil
STRING =

Returns The version as a string.

Returns:

  • (String)

    The version as a string.

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