Module: Juggernaut::Miscel

Included in:
Client, Runner, Server
Defined in:
lib/juggernaut/miscel.rb

Instance Method Summary collapse

Instance Method Details

#config_pathObject



19
20
21
# File 'lib/juggernaut/miscel.rb', line 19

def config_path
  Juggernaut.config_path
end

#log_pathObject



11
12
13
# File 'lib/juggernaut/miscel.rb', line 11

def log_path
  Juggernaut.log_path
end

#loggerObject



23
24
25
# File 'lib/juggernaut/miscel.rb', line 23

def logger
  Juggernaut.logger
end

#optionsObject



3
4
5
# File 'lib/juggernaut/miscel.rb', line 3

def options
  Juggernaut.options
end

#options=(ob) ⇒ Object



7
8
9
# File 'lib/juggernaut/miscel.rb', line 7

def options=(ob)
  Juggernaut.options = ob
end

#pid_pathObject



15
16
17
# File 'lib/juggernaut/miscel.rb', line 15

def pid_path
  Juggernaut.pid_path
end