Sha256: b9b2d5499b114f81d305bbb8259b06c2be8820ef452bdf2fa4c24e4104b70b37

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

# -*- encoding : utf-8 -*-
module GitStats
  module GitData
    class CommandRunner
      def run(path, command)
        Dir.chdir(path) { %x[#{command}] }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git_stats-1.0.1 lib/git_stats/git_data/command_runner.rb
git_stats-1.0.0 lib/git_stats/git_data/command_runner.rb