Module: PerfectSched::BackendHelper

Included in:
PerfectSched::Backend::RDBCompatBackend
Defined in:
lib/perfectsched/backend.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



42
43
44
# File 'lib/perfectsched/backend.rb', line 42

def client
  @client
end

Instance Method Details

#closeObject



44
45
46
# File 'lib/perfectsched/backend.rb', line 44

def close
  # do nothing by default
end

#initialize(client, config) ⇒ Object



37
38
39
40
# File 'lib/perfectsched/backend.rb', line 37

def initialize(client, config)
  @client = client
  @config = config
end