Sha256: e637c92fae1f8ca0783c49371bcd1d3c82b15492fdb5b16cd5326772778a34f9

Contents?: true

Size: 819 Bytes

Versions: 1

Compression:

Stored size: 819 Bytes

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>content (XMLProver::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 345</span>
    <span class="kw">def</span> content(element_or_attribute)
      <span class="kw">case</span> element_or_attribute
      <span class="kw">when</span> REXML::Attribute
        <span class="kw">return</span> element_or_attribute.value
      <span class="kw">when</span> REXML::Element
        <span class="kw">return</span> element_or_attribute.text
      <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/XMLProver/Proofreader.src/M000038.html