Sha256: 361f80ca4f9b6ed08abdd81bc88cebdc65b87f8f525c2dc41ae8caea77ec9233
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>test_postoffice (KenyacodesTest)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File test/test_kenyacodes.rb, line 4</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_postoffice</span> <span class="ruby-identifier">mycodes</span> = <span class="ruby-constant">Kenyacodes</span><span class="ruby-operator">::</span><span class="ruby-constant">Postcodes</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">assert_equal</span> <span class="ruby-value str">'Kerugoya'</span>,<span class="ruby-identifier">mycodes</span>.<span class="ruby-identifier">postoffice</span>(<span class="ruby-value str">'10300'</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kenyacodes-1.0.0 | doc/classes/KenyacodesTest.src/M000001.html |