Class: Bricky::Commands::Version

Inherits:
Base
  • Object
show all
Defined in:
lib/bricky/commands/version.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize, #logger

Constructor Details

This class inherits a constructor from Bricky::Commands::Base

Instance Method Details

#executeObject



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/bricky/commands/version.rb', line 4

def execute
  logger.important "Bricky:", " A smart way to build software packages"
  logger.info <<EOF
     --------------------------
    | v#{Bricky::VERSION} - #{Bricky::CODENAME} |
     -------------------------
      \\   ^__^
       \\  (oo)\_______
          (__)\       )\\/\\/
              ||----w |
              ||     ||
EOF
end