Module: Launchy::Version

Defined in:
lib/launchy/version.rb

Constant Summary collapse

MAJOR =
Integer(VERSION.split('.')[0])
MINOR =
Integer(VERSION.split('.')[1])
PATCH =
Integer(VERSION.split('.')[2])

Class Method Summary collapse

Class Method Details

.to_aObject


10
11
12
# File 'lib/launchy/version.rb', line 10

def self.to_a
  [MAJOR, MINOR, PATCH]
end

.to_sObject


14
15
16
# File 'lib/launchy/version.rb', line 14

def self.to_s
  VERSION
end