Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need for globals.

  • Loading branch information...
commit 82b559f132c189171cb90468a30f2228dc076f5e 1 parent 2ea61b8
@lyudmil authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.