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:
parent
4b7709df42
commit
644d4d768e
1 changed files with 5 additions and 0 deletions
5
sinatra-contrib/lib/sinatra/decompile.rb
Normal file
5
sinatra-contrib/lib/sinatra/decompile.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
warn "Sinatra::Decompile is deprecated without replacement."
|
||||
|
||||
def warn(message)
|
||||
super "#{caller.first[/^[^:]:\d+:/]} warning: #{message}"
|
||||
end
|
Loading…
Add table
Reference in a new issue