Sha256: d11d5bfa4ef05ee8bf36ff513f0736d4db710781bc1d0226e5e95b3ae441e008
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
require "rubygems" $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) unless $LOAD_PATH.include?(File.expand_path(File.dirname(__FILE__))) module Webrat # The common base class for all exceptions raised by Webrat. class WebratError < StandardError end VERSION = '0.4.4.3' def self.require_xml if on_java? gem "nokogiri", ">= 1.2.4" else gem "nokogiri", ">= 1.0.6" end require "nokogiri" require "webrat/core/xml/nokogiri" end def self.on_java? RUBY_PLATFORM =~ /java/ end end Webrat.require_xml require "webrat/core"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jwilger-webrat-0.4.4.3 | lib/webrat.rb |