module Planter::Version
Module that contains all gem version information. Follows semantic versioning. Read: semver.org/
Constants
- MAJOR
-
Major version.
@return [Integer]
- MINOR
-
Minor version.
@return [Integer]
- PATCH
-
Patch version.
@return [Integer]
Public Instance Methods
Source
# File lib/planter/version.rb, line 32 def to_a [MAJOR, MINOR, PATCH] end
Source
# File lib/planter/version.rb, line 48 def to_h %i[major minor patch].zip(to_a).to_h end