| Path: | vendor/rails/railties/lib/console_app.rb |
| Last Update: | Thu Mar 06 04:22:26 +0000 2008 |
reference the global "app" instance, created on demand. To recreate the instance, pass a non-false value as the parameter.
# File vendor/rails/railties/lib/console_app.rb, line 8
8: def app(create=false)
9: @app_integration_instance = nil if create
10: @app_integration_instance ||= new_session do |sess|
11: sess.host! "www.example.com"
12: end
13: end