class RedpenRuby::Process
Public Instance Methods
format_redpen_ruby_output(message, version)
click to toggle source
# File lib/redpen_ruby/process.rb, line 8 def format_redpen_ruby_output(message, version) FormatMessage.new(message, version) end
redpen_ruby(config, target)
click to toggle source
# File lib/redpen_ruby/process.rb, line 3 def redpen_ruby(config, target) redpen_bin = File.expand_path(File.dirname(__FILE__) + '/../redpen-cli-1.1/bin/redpen') format_redpen_ruby_output(`#{redpen_bin} -c #{config} #{target} 2>&1`, `#{redpen_bin} -v`) end