class Object

Constants

CONTACT_DEPS
CONTACT_LOAD_SUCCESS
GOD_ROOT
LOG

App wide logging system

Public Instance Methods

applog(watch, level, text) click to toggle source
# File lib/god.rb, line 105
def applog(watch, level, text)
  LOG.log(watch, level, text)
end
create_dummy_makefile() click to toggle source
# 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) click to toggle source
# 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() click to toggle source

Return the binding of god's root level

# File lib/god.rb, line 118
def root_binding
  binding
end