Permalink
Browse files

Shorten the name of the global to $load_god

  • Loading branch information...
1 parent 1a81a1b commit 64a0ec2b1a4e3c3be5405fd66d4a0d167d119148 @eric eric committed May 9, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 bin/god
  2. +1 −1 lib/god.rb
  3. +1 −1 test/helper.rb
View
2 bin/god
@@ -105,7 +105,7 @@ begin
end
# Use this flag to actually load all of the god infrastructure
- $should_really_load_god = true
+ $load_god = true
# dispatch
if !options[:config] && options[:version]
View
2 lib/god.rb
@@ -2,7 +2,7 @@
#
# We are doing this to guard against bundler autoloading because there is
# no value in loading god in most processes.
-if $should_really_load_god
+if $load_god
# core
require 'stringio'
View
2 test/helper.rb
@@ -1,7 +1,7 @@
$:.unshift File.expand_path('../../lib', __FILE__) # For use/testing when no gem is installed
# Use this flag to actually load all of the god infrastructure
-$should_really_load_god = true
+$load_god = true
require File.join(File.dirname(__FILE__), *%w[.. lib god sys_logger])
require File.join(File.dirname(__FILE__), *%w[.. lib god])

0 comments on commit 64a0ec2

Please sign in to comment.