=begin
= WebUnit::JSciriptOpenObject
  Copyright(C) 2001 yuichi TAKAHASHI
  $Id: jscript.rb,v 1.1.1.1 2002/03/29 15:13:22 yuichi Exp $
=end

module WebUnit

  class JSciriptOpenObject < HtmlElem

    attr_reader :url, :file, :target

    def initialize( ah )
      super( 'open', ah )
      @url = ah['url']
      @file = ah['file']
      @target = ah['target']
    end

=begin
--- JSciriptOpenObject#read
      return a Response of getting of '@url'
=end

    def read
      Response::new.init_http( @url, "GET" ) if @url != nil
    end

  end

end
