Class: Mechanize::Page
- Inherits:
-
File
- Object
- File
- Mechanize::Page
- Defined in:
- lib/mech_js/page.rb
Instance Method Summary collapse
-
#buttons ⇒ Object
Return a list of all buttons.
Instance Method Details
#buttons ⇒ Object
Return a list of all buttons
6 7 8 9 |
# File 'lib/mech_js/page.rb', line 6 def ||= search('button').map { |node| Button.new(node, self) } end |