Method: CPEE::NewInstance#path
- Defined in:
- lib/cpee/implementation.rb
#path(e) ⇒ Object
{{{
197 198 199 200 201 202 203 204 |
# File 'lib/cpee/implementation.rb', line 197 def path(e) ret = [] until e.qname.name == 'properties' ret << (e.class == XML::Smart::Dom::Attribute ? '@' : '') + e.qname.name e = e.parent end File.join(*ret.reverse) end |