From: Thomas Wieczorek Date: 2008-08-11T03:34:27+09:00 Subject: Re: why does the initialize method not return the last expression? Like the others expressed, you can't return a value with initialize. You can add an instance variable which will represent your Watir object. class Browser attr_reader :ie def initialize @ie ||= Watir::IE.new end end and then: browser = Browser.new browser.ie.goto("www.gmail.com") If you want to expand your Browser class with some custom methods and redirect all other methods to Watir::IE, add method_missing(methodname, *args) to it, e.g. class Browser attr_reader :ie def initialize @ie ||= Watir::IE.new end def method_missing(methodname, *args) @ie.send(methodname, *args) end end Regards, Thomas