Module: WillPaginate::Deprecation

Extended by:
ActiveSupport::Deprecation
Defined in:
lib/will_paginate.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.warn(message, callstack = caller) ⇒ Object



79
80
81
82
# File 'lib/will_paginate.rb', line 79

def self.warn(message, callstack = caller)
  message = 'WillPaginate: ' + message.strip.gsub(/\s+/, ' ')
  ActiveSupport::Deprecation.warn(message, callstack)
end