$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) #require File.join(directory, 'wparser', 'Parser') require 'wparser/parser' module WParser VERSION = '0.1.0' def WParser.new Parser.new end end