Sha256: 1b3cfc1f39b5563ec9d92878bced32277b555f23e3b92006cfb05e53b325fe0d

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

module RedpenRuby
  class Process
    def redpen_ruby(config, target)
      redpen_bin = File.expand_path(File.dirname(__FILE__) + '/../redpen-cli-1.0/bin/redpen')
      format_redpen_ruby_output(`#{redpen_bin} -c #{config} #{target} 2>&1`, `#{redpen_bin} -v`)
    end

    def format_redpen_ruby_output(message, version)
      FormatMessage.new(message, version)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redpen_ruby-0.1 lib/redpen_ruby/process.rb