Module: Garcon::Version

Defined in:
lib/garcon/version.rb

Overview

Contains information about this gem’s version

Constant Summary collapse

MAJOR =
0
MINOR =
0
PATCH =
8

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 <<-EOF

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

  EOF
end

.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