Class: NoPatch::Version
- Inherits:
-
Object
- Object
- NoPatch::Version
- 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
-
.to_s ⇒ Object
Return the current version of SuperHooks following the semantics versioning.
Class Method Details
.to_s ⇒ Object
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 |