Module: Redom::Utils

Included in:
Connection, Dispatcher, Parser, Task, Worker
Defined in:
lib/redom/utils.rb

Constant Summary collapse

@@logger =
nil

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.dispatcher=(dispatcher) ⇒ Object



9
10
11
# File 'lib/redom/utils.rb', line 9

def self.dispatcher=(dispatcher)
  @@dispatcher = dispatcher
end

.logger=(logger) ⇒ Object



5
6
7
# File 'lib/redom/utils.rb', line 5

def self.logger=(logger)
  @@logger = logger
end

Instance Method Details

#_dispatcherObject



17
18
19
# File 'lib/redom/utils.rb', line 17

def _dispatcher
  @@dispatcher
end

#_loggerObject



13
14
15
# File 'lib/redom/utils.rb', line 13

def _logger
  @@logger
end