Method: Celerity::Element#attribute_string
- Defined in:
- lib/celerity/element.rb
#attribute_string ⇒ String
Returns A string representation of the element’s attributes.
238 239 240 241 242 243 244 245 246 247 |
# File 'lib/celerity/element.rb', line 238 def attribute_string assert_exists result = '' @object.getAttributes.each do |attribute| result << %Q{#{attribute.getName}="#{attribute.getValue}"} end result end |