Class: Drone::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/drone/version.rb

Overview

Current version of the Ruby client

Constant Summary collapse

MAJOR =
1
MINOR =
0
PATCH =
0
PRE =
nil

Class Method Summary collapse

Class Method Details

.to_sString

Return the current version

Returns:

  • (String)

    the current version of the implementation



32
33
34
# File 'lib/drone/version.rb', line 32

def to_s
  [MAJOR, MINOR, PATCH, PRE].compact.join(".")
end