module Tire

Constants

CHANGELOG
VERSION

Public Class Methods

warn(message) click to toggle source
# File lib/tire.rb, line 38
def warn(message)
  line = caller.detect { |line| line !~ %rlib\/tire\/| }.sub(%r:in .*/, '')
  STDERR.puts  "", "\e[31m[DEPRECATION WARNING] #{message}", "(Called from #{line})", "\e[0m"
end