lib/minglr.rb in schubert-minglr-1.2.0 vs lib/minglr.rb in schubert-minglr-1.3.0

- old
+ new

@@ -1,16 +1,20 @@ +MINGLR_ENV = "normal" unless defined?(MINGLR_ENV) + require 'rubygems' require 'activesupport' require 'activeresource' require 'optparse' prefix = File.join(File.dirname(__FILE__), "minglr") require File.join(prefix, "action") require File.join(prefix, "options_parser") require File.join(prefix, "config_parser") -require File.join(prefix, "mtx_options_parser") -require File.join(prefix, "input_cache") +mtx = File.join(prefix, "mtx", "*") +Dir[mtx].each do |file_name| + load file_name +end require File.join(prefix, "resources", "base") resources = File.join(prefix, "resources", "*") Dir[resources].each do |file_name| load file_name \ No newline at end of file