Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/REXML/Document/new-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Constructor @param source if supplied, must be a Document, String, or IO. Documents have their context and Element attributes cloned. Strings are expected to be valid XML documents. IOs are expected to be sources of valid XML documents. @param context if supplied, contains the context of the document; this should be a Hash.
full_name: REXML::Document::new
is_singleton: true
name: new
params: ( source = nil, context = {} )
visibility: public