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
- .logo ⇒ Object
-
.string ⇒ Object
Returns a version string by joining MAJOR, MINOR, and PATCH with ‘.’.
Class Method Details
.logo ⇒ Object
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.logo 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" |
.string ⇒ Object
Returns a version string by joining MAJOR, MINOR, and PATCH with ‘.’
37 38 39 |
# File 'lib/garcon/version.rb', line 37 def self.string [MAJOR, MINOR, PATCH].join('.') end |