Sha256: c8b7f14455da6640cac13b17b5ad775e0c18c627da2f041dfd518d0f2b262f9d

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 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::Proof)</title>
<link rel=StyleSheet href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body bgcolor="white">
<pre><span class="cmt"># File proof.rb, line 136</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/Proof.src/M000010.html