Class: REXML::Element
- Inherits:
-
Object
- Object
- REXML::Element
- Defined in:
- lib/odt2html-nsi.rb
Instance Method Summary collapse
Instance Method Details
#attribute_value(name, namespace = nil) ⇒ Object
20 21 22 23 |
# File 'lib/odt2html-nsi.rb', line 20 def attribute_value( name, namespace=nil ) attr = attribute( name, namespace ) return (attr != nil) ? attr.value : nil end |