Class: Culerity::RemoteBrowserProxy

Inherits:
RemoteObjectProxy show all
Defined in:
lib/culerity/remote_browser_proxy.rb

Instance Method Summary collapse

Methods inherited from RemoteObjectProxy

#exit, #method_missing

Constructor Details

#initialize(io, browser_options = {}) ⇒ RemoteBrowserProxy

Returns a new instance of RemoteBrowserProxy.



4
5
6
7
8
9
10
11
12
# File 'lib/culerity/remote_browser_proxy.rb', line 4

def initialize(io, browser_options = {})
  @io = io
  unless browser_options.empty?
    @remote_object_id = 'celerity'
    configure_browser browser_options 
    @remote_object_id = nil
  end
  
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Culerity::RemoteObjectProxy