Class: Loops::Version
- Inherits:
-
Object
- Object
- Loops::Version
- Defined in:
- lib/loops/version.rb
Overview
Contains information about currently used Loops version.
Constant Summary collapse
- CURRENT =
Returns a
Hash
containing major, minor, and patch version parts. YAML.load_file(File.join(Loops::LIB_ROOT, '../VERSION.yml'))
- MAJOR =
Returns a major part of the Loops version.
CURRENT[:major]
- MINOR =
Returns a minor part of the Loops version.
CURRENT[:minor]
- PATCH =
Returns a patch part of the Loops version.
CURRENT[:patch]
- STRING =
Returns a string representation of the Loops version.
"%d.%d.%d" % [MAJOR, MINOR, PATCH]
Class Method Summary collapse
-
.to_s ⇒ String
A string representation of the Loops version.
Class Method Details
.to_s ⇒ String
Returns a string representation of the Loops version.
28 29 30 |
# File 'lib/loops/version.rb', line 28 def self.to_s STRING end |