Class: Capybara::Apparition::DevToolsProtocol::RemoteObject
- Inherits:
-
Object
- Object
- Capybara::Apparition::DevToolsProtocol::RemoteObject
- Defined in:
- lib/capybara/apparition/dev_tools_protocol/remote_object.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(page, params) ⇒ RemoteObject
constructor
A new instance of RemoteObject.
- #value ⇒ Object
Constructor Details
#initialize(page, params) ⇒ RemoteObject
Returns a new instance of RemoteObject.
8 9 10 11 |
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 8 def initialize(page, params) @params = params @page = page end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
6 7 8 |
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 6 def params @params end |
Instance Method Details
#value ⇒ Object
13 14 15 |
# File 'lib/capybara/apparition/dev_tools_protocol/remote_object.rb', line 13 def value cyclic_checked_value({}) end |