Module: Cardio::Version
- Defined in:
- lib/cardio/version.rb
Constant Summary collapse
- CARD_MINOR =
can remove and hardcode after 1.0
{ 0 => 90, 1 => 1000 }.freeze
Class Method Summary collapse
Class Method Details
.card_release ⇒ Object
12 13 14 |
# File 'lib/cardio/version.rb', line 12 def card_release @card_release ||= [1, minor, point, pre].compact.map(&:to_s).join "." end |
.release ⇒ Object
8 9 10 |
# File 'lib/cardio/version.rb', line 8 def release @version ||= File.read(File.("../../VERSION", __dir__)).strip end |