new

new( source = nil, context = {} )
Class Public methods

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.

doc_ruby_on_rails
2015-05-06 06:11:23
Comments
Leave a Comment

Please login to continue.