lib/janis/parser_factory.rb in janis-0.1.1 vs lib/janis/parser_factory.rb in janis-0.1.2
- old
+ new
@@ -1,6 +1,6 @@
require 'janis/proxy_website_parser'
-Dir['./lib/janis/specific_parsers/*.rb'].each { |file| require file }
+Dir[File.dirname(__FILE__) + '/specific_parsers/*.rb'].each { |file| require file }
module Janis
module Parsing