webrat/lib/webrat.rb

17 lines
369 B
Ruby
Raw Normal View History

2008-04-05 16:49:18 +00:00
Dir[File.join(File.dirname(__FILE__), "webrat", "*.rb")].each do |file|
require File.expand_path(file)
end
2008-03-03 00:35:46 +00:00
2008-04-04 16:12:46 +00:00
module Webrat
VERSION = '0.2.2'
2008-04-17 10:52:42 +00:00
def self.root
defined?(RAILS_ROOT) ? RAILS_ROOT : Merb.root
end
2008-04-05 16:49:18 +00:00
end
2008-04-16 09:54:37 +00:00
if defined?(Merb)
require File.join(File.dirname(__FILE__), "boot_merb.rb")
else
require File.join(File.dirname(__FILE__), "boot_rails.rb")
2008-04-05 16:49:18 +00:00
end