Sha256: b696d4e79d33483d27a2266c89649d149574eadb837978ad3cd5be9b0ccbd9a1
Contents?: true
Size: 1.12 KB
Versions: 5
Compression:
Stored size: 1.12 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_inspect (TestActor)</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_actor.rb, line 24</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_inspect</span> <span class="ruby-identifier">a</span> = <span class="ruby-constant">Actor</span>.<span class="ruby-identifier">from_string</span>(<span class="ruby-value str">"Tom Werner <tom@example.com>"</span>) <span class="ruby-identifier">assert_equal</span> <span class="ruby-value str">%Q{#<Grit::Actor "Tom Werner <tom@example.com>">}</span>, <span class="ruby-identifier">a</span>.<span class="ruby-identifier">inspect</span> <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems