Class: RedpenRuby::Process
- Inherits:
-
Object
- Object
- RedpenRuby::Process
- Defined in:
- lib/redpen_ruby/process.rb
Instance Method Summary collapse
Instance Method Details
#format_redpen_ruby_output(message, version) ⇒ Object
8 9 10 |
# File 'lib/redpen_ruby/process.rb', line 8 def format_redpen_ruby_output(, version) FormatMessage.new(, version) end |
#redpen_ruby(config, target) ⇒ Object
3 4 5 6 |
# File 'lib/redpen_ruby/process.rb', line 3 def redpen_ruby(config, target) redpen_bin = File.(File.dirname(__FILE__) + '/../redpen-cli-1.1/bin/redpen') format_redpen_ruby_output(`#{redpen_bin} -c #{config} #{target} 2>&1`, `#{redpen_bin} -v`) end |