Sha256: 13ec2db301a5bbe0427f03f88c26603a231af895faa1223a23ff51da3a5262d3
Contents?: true
Size: 249 Bytes
Versions: 1
Compression:
Stored size: 249 Bytes
Contents
module GitStats class CommandRunner def run(path, command) execute(command, path).encode!('UTF-8', 'UTF-8', invalid: :replace) end private def execute(command, path) Dir.chdir(path) { `#{command}` } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nova_git_stats-2.2.0 | lib/git_stats/command_runner.rb |