Class: Pacproxy::Runtime

Inherits:
Object
  • Object
show all
Includes:
Loggable
Defined in:
lib/pacproxy/runtime.rb

Overview

Pacproxy::Runtime represet runtime

Instance Method Summary collapse

Methods included from Loggable

#access_logger, #accesslog, #debug, #error, #fatal, #general_logger, #info, #lwarn

Constructor Details

#initializeRuntime

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

#shutdownObject



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