관리-도구
편집 파일: clone-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a shallow copy of self. - !ruby/struct:SM::Flow::VERB body: " d = Document.new "<a><b/><b/><c><d/></c></a>"\n new_a = d.root.clone\n puts new_a # => "<a/>"\n" full_name: REXML::Element#clone is_singleton: false name: clone params: () visibility: public