Class: MailFileLogRenderer
- Inherits:
-
LogRenderer
- Object
- LogRenderer
- MailFileLogRenderer
- Defined in:
- lib/bastard/renderers/mail_file_log_renderer.rb
Constant Summary collapse
- MailFilePath =
%r{Processing mail (.+)/inbound/(.+)}
Instance Method Summary collapse
Instance Method Details
#render(line = {}) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/bastard/renderers/mail_file_log_renderer.rb', line 7 def render(line = {}) output = super(line) output.gsub!(MailFilePath) do |match| "Processing mail "+html_file_link("inbound/#{$2}") end output end |