Class: NodeWrapper
- Inherits:
-
Object
- Object
- NodeWrapper
- Defined in:
- lib/capybara/spec/session/node_wrapper_spec.rb
Instance Method Summary collapse
-
#initialize(element) ⇒ NodeWrapper
constructor
A new instance of NodeWrapper.
- #to_capybara_node ⇒ Object
Constructor Details
#initialize(element) ⇒ NodeWrapper
Returns a new instance of NodeWrapper.
4 |
# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 4 def initialize(element); @element = element end |
Instance Method Details
#to_capybara_node ⇒ Object
5 |
# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 5 def (); @element end |