1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Add warning when user requires sinatra/decompile

See fef4722cfd1afa5d7e48f0c2011ecb3c2f3722fb for more info.
This commit is contained in:
Zachary Scott 2016-06-22 14:40:34 +09:00
parent 4b7709df42
commit 644d4d768e

View file

@ -0,0 +1,5 @@
warn "Sinatra::Decompile is deprecated without replacement."
def warn(message)
super "#{caller.first[/^[^:]:\d+:/]} warning: #{message}"
end