Class: Toolshed::Version
- Inherits:
-
Object
- Object
- Toolshed::Version
- Defined in:
- lib/toolshed/version.rb
Overview
Display the version information with the toolshed banner
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/toolshed/version.rb', line 9 def self. formatted_version = format('%80s', "Version: #{Toolshed::VERSION}") = format('%80s', 'Authors: Jake Waller') puts <<-EOS ______ ___ ___ _ _____ __ __ ___ ___ | | / \ / \ | | / ___/| | | / _]| \ | || || || | ( \_ | | | / [_ | \ |_| |_|| O || O || |___ \__ || _ || _]| D | | | | || || | / \ || | || [_ | | | | | || || | \ || | || || | |__| \___/ \___/ |_____| \___||__|__||_____||_____| #{formatted_version} #{} EOS exit end |