Class: GitBundle::Commands::Version
- Inherits:
-
Object
- Object
- GitBundle::Commands::Version
- Includes:
- GitBundle::Console
- Defined in:
- lib/git_bundle/commands/version.rb
Constant Summary
Constants included from GitBundle::Console
Instance Method Summary collapse
Methods included from GitBundle::Console
#clear_line, #parallel, #puts_attention, #puts_error, #puts_heading, #puts_prompt, #puts_repo_heading, #puts_repo_heading_switch, #puts_stay_on_line, #puts_wait_line
Instance Method Details
#invoke ⇒ Object
6 7 8 9 10 |
# File 'lib/git_bundle/commands/version.rb', line 6 def invoke puts "git-bundle version #{GitBundle::VERSION}" puts "bundler version #{Bundler::VERSION}" system 'git', '--version' end |