6 7 8 9
# File 'lib/redpen/process.rb', line 6 def run(config, target, format) redpen_bin = File.expand_path('../../redpen-distribution-1.7.0/bin/redpen', __FILE__) Result.new(*Open3.capture3("#{redpen_bin} -c #{config} -f #{format} #{target}")) end