Class: SimpleHttp::Version

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

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.to_sString

Returns:

  • (String)


11
12
13
# File 'lib/simple_http/version.rb', line 11

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