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



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

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