class NoPatch::Version
A version object
Constants
- MAJOR
Major release
- MINOR
Minor release
- PATCH
Patch level
- PRE
Preview
Public Class Methods
to_s()
click to toggle source
Return the current version of SuperHooks following the semantics versioning
# File lib/no_patch/version.rb, line 16 def self.to_s [MAJOR, MINOR, PATCH, PRE].compact.join(".") end