Method: Celerity::Element#attribute_value
- Defined in:
- lib/celerity/element.rb
#attribute_value(attribute) ⇒ String
Returns The value of the given attribute.
151 152 153 154 |
# File 'lib/celerity/element.rb', line 151 def attribute_value(attribute) assert_exists @object.getAttribute attribute.to_s end |