module DyndocServers
Public Class Methods
cfg()
click to toggle source
# File lib/dyndoc-servers-cfg.rb, line 5 def DyndocServers.cfg unless @@cfg @@cfg=(File.exist? @@servers_cfg_file) ? ::YAML::load_file(@@servers_cfg_file) : {} end @@cfg end
dyn_cli_port?()
click to toggle source
# File lib/dyndoc-servers-cfg.rb, line 12 def DyndocServers.dyn_cli_port? DyndocServers.cfg["ports"] ? @@cfg["ports"]["dyn-cli"] : nil end
dyn_http_port?()
click to toggle source
# File lib/dyndoc-servers-cfg.rb, line 20 def DyndocServers.dyn_http_port? DyndocServers.cfg["ports"] ? @@cfg["ports"]["dyn-http"] : nil end
dyn_srv_port?()
click to toggle source
# File lib/dyndoc-servers-cfg.rb, line 16 def DyndocServers.dyn_srv_port? DyndocServers.cfg["ports"] ? @@cfg["ports"]["dyn-srv"] : nil end