Class: Array (Ruby 2.3.4)

In Files

  • rexml/xpath_parser.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Array

Public Instance Methods

dclone()

provides a unified clone operation, for REXML::XPathParser to use across multiple Object+ types

 
               # File rexml/xpath_parser.rb, line 33
def dclone
  klone = self.clone
  klone.clear
  self.each{|v| klone << v.dclone}
  klone
end