Module: Launchy::Version

Defined in:
lib/launchy/version.rb

Overview

Internal: Version number of Launchy

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



12
13
14
# File 'lib/launchy/version.rb', line 12

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

.to_sObject



16
17
18
# File 'lib/launchy/version.rb', line 16

def self.to_s
  VERSION
end