Path: | vendor/rails/railties/lib/console_app.rb |
Last Update: | Wed Mar 27 17:41:12 +0000 2013 |
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 9 9: def app(create=false) 10: @app_integration_instance = nil if create 11: @app_integration_instance ||= new_session do |sess| 12: sess.host! "www.example.com" 13: end 14: end