Top Level Namespace
- Includes:
- Socket::Constants
Defined Under Namespace
Modules: God, Kernel, Marshmallow, MonitorMixin Classes: ConditionVariable, Module, Numeric
Constant Summary collapse
- CONTACT_DEPS =
{ }
- CONTACT_LOAD_SUCCESS =
{ }
- LOG =
App wide logging system
God::Logger.new
- GOD_ROOT =
File.(File.join(File.dirname(__FILE__), '..'))
- McProc =
provide a new name for the parnt project
God
Instance Method Summary collapse
- #applog(watch, level, text) ⇒ Object
- #create_dummy_makefile ⇒ Object
- #load_contact(name) ⇒ Object
-
#root_binding ⇒ Object
Return the binding of god’s root level.
Instance Method Details
#applog(watch, level, text) ⇒ Object
105 106 107 |
# File 'lib/god.rb', line 105 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 |
#load_contact(name) ⇒ Object
79 80 81 82 83 84 |
# File 'lib/god.rb', line 79 def load_contact(name) require "god/contacts/#{name}" CONTACT_LOAD_SUCCESS[name] = true rescue LoadError CONTACT_LOAD_SUCCESS[name] = false end |
#root_binding ⇒ Object
Return the binding of god’s root level
118 119 120 |
# File 'lib/god.rb', line 118 def root_binding binding end |