summaryrefslogtreecommitdiff
path: root/Zip/Extra.html
diff options
context:
space:
mode:
Diffstat (limited to 'Zip/Extra.html')
-rw-r--r--Zip/Extra.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/Zip/Extra.html b/Zip/Extra.html
index cb489df..3ea15f3 100644
--- a/Zip/Extra.html
+++ b/Zip/Extra.html
@@ -121,11 +121,11 @@
<p>Example:</p>
-<p># open "foo.zip"
-Zip.read("foo.zip") do |zip|
-# get extra data associated with "bar.txt"
-extras = zip["bar.txt"].extras
-end</p>
+<pre><code><span class="c"># open &quot;foo.zip&quot;</span>
+<span class="t">Zip</span>.read(<span class="s">&quot;foo.zip&quot;</span>) <span class="k">do</span> <span class="o">|</span>zip<span class="o">|</span>
+ <span class="c"># get extra data associated with &quot;bar.txt&quot;</span>
+ extras <span class="o">=</span> zip[<span class="s">&quot;bar.txt&quot;</span>].extras
+<span class="k">end</span></code></pre>