Skip to content
Browse files

No need for globals.

  • Loading branch information...
1 parent 2ea61b8 commit 82b559f132c189171cb90468a30f2228dc076f5e @lyudmil committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 tools/sql_for_model.rb
View
6 tools/sql_for_model.rb
@@ -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.
Something went wrong with that request. Please try again.