Class: GitCommands::Log
- Defined in:
- lib/straight_line/common/git_commands/log.rb
Overview
return git log information
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
-
#initialize(opts) ⇒ Log
constructor
A new instance of Log.
Methods inherited from Command
#arg, from_file, #run, #run_sub_commands, #sub_command
Constructor Details
#initialize(opts) ⇒ Log
Returns a new instance of Log.
6 7 8 9 10 |
# File 'lib/straight_line/common/git_commands/log.rb', line 6 def initialize(opts) super 'git' arg 'log' arg opts end |