Methods

WillPaginate::Deprecation

Public Class Methods

warn(message, stack = caller) click to toggle source
# File lib/will_paginate/deprecation.rb, line 3
def warn(message, stack = caller)
  offending_line = origin_of_call(stack)
  full_message = "DEPRECATION WARNING: #{message} (called from #{offending_line})"
  logger = rails_logger || Kernel
  logger.warn full_message
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.