Module: Garcon::Version

Defined in:
lib/garcon/version.rb

Overview

Contains information about this gem’s version

Constant Summary collapse

MAJOR =
0
MINOR =
1
PATCH =
1

Class Method Summary collapse

Class Method Details

.logoObject



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/garcon/version.rb', line 41

def self.
  puts "\n                        .:  ;:. .:;S;:. .:;.;:. .:;S;:. .:;S;:.\n                        S   ' S S  S    S  S    S     S  /\n                        `:;S;:' `:;S;:' `:;S;:' `:;S;:' `:;S;:'\n        .g8\"\"\"bgd\n      .dP'     `M\n      dM'       `  ,6\"Yb.  `7Mb,od8 ,p6\"bo   ,pW\"Wq.`7MMpMMMb.\n      MM          8)   MM    MM' \"'6M'  OO  6W'   `Wb MM    MM\n      MM.    `7MMF',pm9MM    MM    8M       8M     M8 MM    MM\n      `Mb.     MM 8M   MM    MM    YM.    , YA.   ,A9 MM    MM\n        `\"bmmmdPY `Moo9^Yo..JMML.   YMbmd'   `Ybmd9'.JMML  JMML.\n                                      bog\n                                       od              V \#{string}\n\n  EOF\nend\n"

.stringObject

Returns a version string by joining MAJOR, MINOR, and PATCH with ‘.’

Examples:

Version.string # => '1.0.1'


37
38
39
# File 'lib/garcon/version.rb', line 37

def self.string
  [MAJOR, MINOR, PATCH].join('.')
end