Class: DynamicValidation::Version

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

Overview

A version object

Constant Summary

MAJOR =

Major release

0
MINOR =

Minor release

0
PATCH =

Patch level

1
PRE =

Preview

nil

Class Method Summary collapse

Class Method Details

.to_sString

Return the current version of ErrorNotifer following the semantics versioning

Returns:

  • (String)


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

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