Class: Checker::Helper
- Inherits:
-
Object
- Object
- Checker::Helper
- Defined in:
- lib/checker/helper.rb
Class Method Summary collapse
Class Method Details
.show_help! ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/checker/helper.rb', line 3 def self.show_help! puts "Checker version #{Checker::VERSION}" puts "* install - type 'checker install' to install git pre-commit-hook" puts "* modules - type 'checker modules' to see available modules" puts "* checks - type 'checker [module name]' to check your current git stage" puts "* help - type 'checker help' to see this message :)" exit 0 end |
.show_modules!(modules) ⇒ Object
12 13 14 15 |
# File 'lib/checker/helper.rb', line 12 def self.show_modules!(modules) puts "Available modules are: all, #{modules.join(", ")}" exit 0 end |