webrat/lib/webrat.rb
2008-10-25 12:42:38 -04:00

18 lines
549 B
Ruby

require "rubygems"
module Webrat
VERSION = '0.2.2'
def self.root
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
end
end
require File.dirname(__FILE__) + "/webrat/core_extensions/blank"
require File.dirname(__FILE__) + "/webrat/core_extensions/hash_with_indifferent_access"
require File.dirname(__FILE__) + "/webrat/core_extensions/nil_to_param"
require File.dirname(__FILE__) + "/webrat/core"
require File.dirname(__FILE__) + "/webrat/rails" if defined?(RAILS_ENV)
require File.dirname(__FILE__) + "/webrat/merb" if defined?(Merb)