Module: Rake::TraceOutput
- Defined in:
- lib/quiet_down_rake.rb
Instance Method Summary collapse
Instance Method Details
#the_real_trace_on ⇒ Object
3 |
# File 'lib/quiet_down_rake.rb', line 3 alias_method :the_real_trace_on, :trace_on |
#trace_on(out, *strings) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/quiet_down_rake.rb', line 5 def trace_on(out, *strings) dont_care = ['Command failed with status (1)', 'See full trace by running task with', 'rake aborted!'] unless(dont_care.any? { |s| strings.join.include?(s) }) the_real_trace_on(out, *strings) end end |