Sha256: f55b54d9422d593f1a84bf43e18ed37c67369c5dc2cde40934a9a32c389981f3
Contents?: true
Size: 946 Bytes
Versions: 1
Compression:
Stored size: 946 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>typecast (XMLProof::Die)</title> <link rel=StyleSheet href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body bgcolor="white"> <pre><span class="cmt"># File die.rb, line 129</span> <span class="kw">def</span> typecast(x) dts = DataTypes.new <span class="kw">return</span> <span class="kw">nil</span> <span class="kw">if</span> x == <span class="kw">nil</span> <span class="cmt"># if nil</span> <span class="kw">if</span> @datatype <span class="kw">if</span> dts.valid?(@datatype, x) <span class="kw">return</span> dts.typecast(@datatype, x) <span class="kw">end</span> <span class="kw">end</span> <span class="kw">return</span> x <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/Die.src/M000005.html |