instance method
app
Ruby on Rails 4.2.9
Since v3.1.12 Last seen in v5.2.8.1Signature
app()
TODO: this is no longer required but we keep it for the moment to support older config.ru files.
Source
# File railties/lib/rails/commands/server.rb, line 59
def app
@app ||= begin
app = super
app.respond_to?(:to_app) ? app.to_app : app
end
end
Defined in railties/lib/rails/commands/server.rb line 59
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Server