Class: GitStats::CommandRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/git_stats/command_runner.rb

Instance Method Summary collapse

Instance Method Details

#run(path, command) ⇒ Object



5
6
7
# File 'lib/git_stats/command_runner.rb', line 5

def run(path, command)
  execute(command, path).encode('UTF-8', 'UTF-8', invalid: :replace)
end