lib/watirsplash/page/base.rb in watirsplash-2.4.2 vs lib/watirsplash/page/base.rb in watirsplash-2.4.3
- old
+ new
@@ -2,19 +2,16 @@
module Page
class Base
include SpecHelper
class << self
- @url = "about:blank"
-
def url url
@url = url
end
def _url
- @url
+ @url || "about:blank"
end
-
end
def initialize(browser=nil)
if browser
@browser = browser