Module: Retryable::Version
- Defined in:
- lib/retryable/version.rb
Overview
This module holds the Retryable version information.
Class Method Summary collapse
Class Method Details
.major ⇒ Integer
7 8 9 |
# File 'lib/retryable/version.rb', line 7 def major 3 end |
.minor ⇒ Integer
12 13 14 |
# File 'lib/retryable/version.rb', line 12 def minor 0 end |
.patch ⇒ Integer
17 18 19 |
# File 'lib/retryable/version.rb', line 17 def patch 5 end |
.to_a ⇒ Hash
31 32 33 |
# File 'lib/retryable/version.rb', line 31 def to_a [major, minor, patch].compact end |
.to_h ⇒ Hash
22 23 24 25 26 27 28 |
# File 'lib/retryable/version.rb', line 22 def to_h { major: major, minor: minor, patch: patch } end |
.to_s ⇒ String
36 37 38 |
# File 'lib/retryable/version.rb', line 36 def to_s to_a.join('.') end |