Class: NodeWrapper
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/capybara/spec/session/node_wrapper_spec.rb |
Class Method Summary
- .new(element) ⇒ NodeWrapper constructor
Instance Method Summary
Constructor Details
.new(element) ⇒ NodeWrapper
# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 4
def initialize(element); @element = element end
Instance Method Details
#to_capybara_node
[ GitHub ]# File 'lib/capybara/spec/session/node_wrapper_spec.rb', line 5
def (); @element end