Sha256: 24124679cde39228580e0f6eb409553dca0b35580225fa49243f42d63fba0d2e
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 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_postcode (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 9</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_postcode</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">'10300'</span>, <span class="ruby-identifier">mycodes</span>.<span class="ruby-identifier">postcode</span>(<span class="ruby-value str">'Kerugoya'</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/M000002.html |