class GitPlus::Commands::Log
A Git log command wrapper.
Public Class Methods
new(shell: Open3)
click to toggle source
# File lib/git_plus/commands/log.rb, line 9 def initialize shell: Open3 @shell = shell end
Public Instance Methods
call(*arguments)
click to toggle source
# File lib/git_plus/commands/log.rb, line 13 def call(*arguments) = shell.capture3("git", "log", *arguments) private attr_reader :shell end