Class: Steam::Browser::HtmlUnit::Handler::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/steam/browser/html_unit/handler.rb

Direct Known Subclasses

Alert, Confirm

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proc) ⇒ Base

Returns a new instance of Base.



16
17
18
# File 'lib/steam/browser/html_unit/handler.rb', line 16

def initialize(proc)
  @proc = proc
end

Instance Attribute Details

#procObject (readonly)

Returns the value of attribute proc.



14
15
16
# File 'lib/steam/browser/html_unit/handler.rb', line 14

def proc
  @proc
end