Permalink
Browse files

No need for globals.

  • Loading branch information...
lyudmil committed Feb 7, 2012
1 parent 2ea61b8 commit 82b559f132c189171cb90468a30f2228dc076f5e
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/sql_for_model.rb
View
@@ -2,11 +2,11 @@
require 'yaml'
require 'java'
-$CONFIG = YAML.load(File.open(File.dirname(__FILE__) + '/config.yaml'))
+config = YAML.load(File.open(File.dirname(__FILE__) + '/config.yaml'))
-require $CONFIG["android-jar-path"]
+require config["android-jar-path"]
-$CLASSPATH << $CONFIG["output-path"]
+$CLASSPATH << config["output-path"]
java_import com.androidrecord.ActiveRecordBase

0 comments on commit 82b559f

Please sign in to comment.