[]( reference, ns=nil ) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rexml/light/node.rb, line 86
                        def []( reference, ns=nil )
                                if reference.kind_of? String
                                        pfx = ''
                                        pfx = "#{prefix(ns)}:" if ns
                                        at(3)["#{pfx}#{reference}"]
                                elsif reference.kind_of? Range
                                        _old_get( Range.new(4+reference.begin, reference.end, reference.exclude_end?) )
                                else
                                        _old_get( 4+reference )
                                end
                        end
Register or log in to add new notes.