module RailsPerformance
Constants
- FORMAT
- SCHEMA
- VERSION
Public Class Methods
ignored_endpoints=(endpoints)
click to toggle source
# File lib/rails_performance.rb, line 63 def RailsPerformance.ignored_endpoints=(endpoints) @@ignored_endpoints = Set.new(endpoints) end
log(message)
click to toggle source
# File lib/rails_performance.rb, line 76 def RailsPerformance.log(message) return if ::Rails.logger # puts(message) ::Rails.logger.debug(message) else puts(message) end end
setup() { |self| ... }
click to toggle source
# File lib/rails_performance.rb, line 72 def RailsPerformance.setup yield(self) end