lib/bad_browser.rb
# Outputs some logging details; defaults to stdout via puts
Outputs some logging details; defaults to stdout via puts
Outputs some logging details ; defaults to stdout via puts
def log_request(result)
      msg = [result, request.ip, request.referer || 'N/A', string]
      msg.map! { |val| %Q("#{val}") }
      puts msg.join(', ')
    end
def log_request ( result ) msg = [ result , request . ip , request . referer || 'N/A' , string ] msg . map! { | val | %Q("#{val}") } puts msg . join ( ', ' ) end
Outputs some logging details; defaults to stdout via puts
Outputs some logging details ; defaults to stdout via puts
result