Class: DocumentationHelpCommand

Inherits:
MoreUtils show all
Defined in:
lib/help/documentation.rb

Class Method Summary collapse

Methods inherited from MoreUtils

flag_lookup, gem_version, get_args, get_file_str, get_flags, root, this_dir, versions, write_file, wrong_version_error

Class Method Details

.ascii_artObject



19
20
21
22
23
24
25
26
27
# File 'lib/help/documentation.rb', line 19

def ascii_art
"______      _ __                 
| ___ \\    (_) |      _     _   
| |_/ /__ _ _| |___ _| |_ _| |_ 
|    // _` | | / __|_   _|_   _|
| |\\ \\ (_| | | \\__ \\ |_|   |_|  
\\_| \\_\\__,_|_|_|___/                       
"
end

.run(descriptions) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/help/documentation.rb', line 6

def run descriptions
    puts "#{ascii_art}
Rails Plus Plus Version: #{gem_version}

Rails Plus Plus: Command Line Interface to make your life easier.
=> The Rails Plus Plus command is 'railspp'. To blast this project into the fifth dimension.
=> Use '--help' on any of the commands listed below for more details.

List of commands:
#{descriptions}
"
end