@!visibility private @!macro internal_implementation_note
# File lib/concurrent/concern/deprecation.rb, line 12 def deprecated(message, strip = 2) caller_line = caller(strip).first if strip > 0 klass = if Module === self self else self.class end message = if strip > 0 format("[DEPRECATED] %s\ncalled on: %s", message, caller_line) else format('[DEPRECATED] %s', message) end log WARN, klass.to_s, message end
Generated with the Darkfish Rdoc Generator 2.