Class: Moron::Version

Inherits:
Object
  • Object
show all
Defined in:
lib/moron/version.rb

Constant Summary collapse

MAJOR =
0
MINOR =
5
BUILD =
1

Class Method Summary collapse

Class Method Details

.to_aObject



8
9
10
# File 'lib/moron/version.rb', line 8

def to_a
	[MAJOR, MINOR, BUILD]
end

.to_sObject



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

def to_s
	to_a.join(".")
end