Class: NoPatch::Version

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

Overview

A version object

Constant Summary collapse

MAJOR =

Major release

0
MINOR =

Minor release

0
PATCH =

Patch level

0
PRE =

Preview

nil

Class Method Summary collapse

Class Method Details

.to_sObject

Return the current version of SuperHooks following the semantics versioning



16
17
18
# File 'lib/no_patch/version.rb', line 16

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