Class: Steam::Browser::HtmlUnit::Handler::Confirm

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

Instance Attribute Summary

Attributes inherited from Base

#proc

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Steam::Browser::HtmlUnit::Handler::Base

Instance Method Details

#handleConfirm(page, message) ⇒ Object



28
29
30
31
# File 'lib/steam/browser/html_unit/handler.rb', line 28

def handleConfirm(page, message)
  result = proc.call(page, message)
  result.nil? || !!result
end