Class: GitCommands::Log

Inherits:
Command show all
Defined in:
lib/straight_line/common/git_commands/log.rb

Overview

return git log information

Instance Attribute Summary

Attributes inherited from Command

#working_dir

Instance Method Summary collapse

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