diff --git a/lib/sinatra/base.rb b/lib/sinatra/base.rb index 754f5a6b5e..eb94d3ed19 100644 --- a/lib/sinatra/base.rb +++ b/lib/sinatra/base.rb @@ -682,10 +682,6 @@ def erb(template, options = {}, locals = {}, &block) render(:erb, template, options, locals, &block) end - def erubi(template, options = {}, locals = {}, &block) - render(:erubi, template, options, locals, &block) - end - def erubis(template, options = {}, locals = {}) warn "Sinatra::Templates#erubis is deprecated and will be removed, use #erb instead.\n" \ "If you have Erubis installed, it will be used automatically." diff --git a/sinatra-contrib/README.md b/sinatra-contrib/README.md index 599cf93e33..1dbb518d10 100644 --- a/sinatra-contrib/README.md +++ b/sinatra-contrib/README.md @@ -22,7 +22,7 @@ Currently included: * [`sinatra/config_file`][sinatra-config-file]: Allows loading configuration from yaml files. -* [`sinatra/content_for`][sinatra-content-for]: Adds Rails-style `content_for` helpers to Haml, Erb, +* [`sinatra/content_for`][sinatra-content-for]: Adds Rails-style `content_for` helpers to Haml, Erb, Erubi, Erubis and Slim. * [`sinatra/cookies`][sinatra-cookies]: A `cookies` helper for reading and writing cookies.