Sha256: 115b16ccf8bce40ea70d381a0de52ab04c7795cc9e802cfac5e63b8b11de3c61
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>use_document (XMLProof::Proofreader)</title> <link rel=StyleSheet href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body bgcolor="white"> <pre><span class="cmt"># File proofreader.rb, line 51</span> <span class="kw">def</span> use_document(xml, use_internal_proof=<span class="kw">false</span>) <span class="kw">if</span> use_internal_proof proofsheets = Proofsheets.new @xml_document = proofsheets.load_document_proofsheets(xml) @proof = Proof.new(proofsheets) <span class="kw">else</span> <span class="kw">if</span> xml.is_a?(REXML::Document) @xml_document = xml_document <span class="kw">else</span> @xml_document = REXML::Document.new(fetch_xml(xml)) <span class="kw">end</span> <span class="kw">end</span> <span class="kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mega-0.3.1 | pub/xml/xmlproof/rdoc/classes/XMLProof/Proofreader.src/M000025.html |