Class: Backup::Version
- Inherits:
-
Object
- Object
- Backup::Version
- Defined in:
- lib/backup/version.rb
Class Method Summary collapse
-
.current ⇒ Object
Returns the current version of the Backup gem ( qualified for the gemspec ).
-
.major ⇒ Object
Returns the major version ( big release based off of multiple minor releases ).
-
.minor ⇒ Object
Returns the minor version ( small release based off of multiple patches ).
-
.patch ⇒ Object
Returns the patch version ( updates, features and (crucial) bug fixes ).
Class Method Details
.current ⇒ Object
Returns the current version of the Backup gem ( qualified for the gemspec )
38 39 40 |
# File 'lib/backup/version.rb', line 38 def self.current "#{major}.#{minor}.#{patch}" end |
.major ⇒ Object
Returns the major version ( big release based off of multiple minor releases )
20 21 22 |
# File 'lib/backup/version.rb', line 20 def self.major MAJOR end |
.minor ⇒ Object
Returns the minor version ( small release based off of multiple patches )
26 27 28 |
# File 'lib/backup/version.rb', line 26 def self.minor MINOR end |
.patch ⇒ Object
Returns the patch version ( updates, features and (crucial) bug fixes )
32 33 34 |
# File 'lib/backup/version.rb', line 32 def self.patch PATCH end |