Top Level Namespace
Defined Under Namespace
Modules: God, Kernel, XMPP4R Classes: BleakHouseDiagnostic, Module, Numeric
Constant Summary collapse
- LOG =
App wide logging system
God::Logger.new
- GOD_ROOT =
File.(File.join(File.dirname(__FILE__), '..'))
Instance Method Summary collapse
- #applog(watch, level, text) ⇒ Object
- #create_dummy_makefile ⇒ Object
-
#root_binding ⇒ Object
Return the binding of god’s root level.
- #start_dike ⇒ Object
Instance Method Details
#applog(watch, level, text) ⇒ Object
93 94 95 |
# File 'lib/god.rb', line 93 def applog(watch, level, text) LOG.log(watch, level, text) end |
#create_dummy_makefile ⇒ Object
5 6 7 8 9 10 |
# File 'ext/god/extconf.rb', line 5 def create_dummy_makefile File.open("Makefile", 'w') do |f| f.puts "all:" f.puts "install:" end end |
#root_binding ⇒ Object
Return the binding of god’s root level
106 107 108 |
# File 'lib/god.rb', line 106 def root_binding binding end |
#start_dike ⇒ Object
1 2 3 4 5 6 7 8 9 10 |
# File 'lib/god/diagnostics.rb', line 1 def start_dike require 'dike' Thread.new do Dike.logfactory File.join(File.dirname(__FILE__), *%w[.. .. logs]) loop do Dike.finger sleep(1) end end end |