Class: Bones::Proxy
Instance Method Summary collapse
-
#call(env) ⇒ Object
Process incoming request.
-
#reload! ⇒ Object
Reloads the application.
Instance Method Details
#call(env) ⇒ Object
Process incoming request
9 10 11 12 |
# File 'lib/bones/proxy.rb', line 9 def call(env) reload! Bones.new.call(env) end |
#reload! ⇒ Object
Reloads the application
15 16 17 |
# File 'lib/bones/proxy.rb', line 15 def reload! force_load 'Bones' => File.join(File.dirname(__FILE__), '..', 'bones.rb') end |