Class: Pacproxy::Runtime
- Inherits:
-
Object
- Object
- Pacproxy::Runtime
- Includes:
- Loggable
- Defined in:
- lib/pacproxy/runtime.rb
Overview
Pacproxy::Runtime represet runtime
Instance Method Summary collapse
- #find(url) ⇒ Object
-
#initialize ⇒ Runtime
constructor
A new instance of Runtime.
- #shutdown ⇒ Object
- #update(file_location) ⇒ Object
Methods included from Loggable
#access_logger, #accesslog, #debug, #error, #fatal, #general_logger, #info, #lwarn
Constructor Details
#initialize ⇒ Runtime
Returns a new instance of Runtime.
10 11 12 |
# File 'lib/pacproxy/runtime.rb', line 10 def initialize @runtime = autodetect end |
Instance Method Details
#find(url) ⇒ Object
18 19 20 |
# File 'lib/pacproxy/runtime.rb', line 18 def find(url) @runtime.find(url) end |
#shutdown ⇒ Object
14 15 16 |
# File 'lib/pacproxy/runtime.rb', line 14 def shutdown @runtime.shutdown end |
#update(file_location) ⇒ Object
22 23 24 |
# File 'lib/pacproxy/runtime.rb', line 22 def update(file_location) @runtime.update(file_location) end |