Module: Delegators

Included in:
CapybaraPageObject::Node
Defined in:
lib/capybara-page-object/delegators.rb

Instance Method Summary collapse

Instance Method Details

#all(*args) ⇒ Object

 TODO why doesn’t method_missing work?



3
4
5
# File 'lib/capybara-page-object/delegators.rb', line 3

def all(*args)
  source.all(*args)
end

#find(*args) ⇒ Object



7
8
9
# File 'lib/capybara-page-object/delegators.rb', line 7

def find(*args)
  source.find(*args)
end

#textObject



11
12
13
# File 'lib/capybara-page-object/delegators.rb', line 11

def text
  source.text
end