Class: Webrat::Label
- Defined in:
- lib/webrat/core/elements/label.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#element ⇒ Object
readonly
Returns the value of attribute element.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Element
#initialize, #inspect, load, load_all, #path
Constructor Details
This class inherits a constructor from Webrat::Element
Instance Attribute Details
#element ⇒ Object (readonly)
Returns the value of attribute element.
6 7 8 |
# File 'lib/webrat/core/elements/label.rb', line 6 def element @element end |
Class Method Details
.xpath_search ⇒ Object
8 9 10 |
# File 'lib/webrat/core/elements/label.rb', line 8 def self.xpath_search [".//label"] end |