Skip to content

Commit

Permalink
Apparently <pre> is supposed to come before <code>
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony Arcieri committed Aug 23, 2009
1 parent b799be2 commit 23b9157
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.textile
Expand Up @@ -11,8 +11,8 @@ applications.

You can include Rev in your programs with:

<code><pre>require 'rubygems'
require 'rev'</pre></code>
<pre><code>require 'rubygems'
require 'rev'</code></pre>

For more information, consult the RubyForge page:

Expand Down Expand Up @@ -94,7 +94,7 @@ h2. Example Program

Below is an example of how to write an echo server:

<code><pre>require 'rev'
<pre><code>require 'rev'
HOST = 'localhost'
PORT = 4321

Expand All @@ -116,7 +116,7 @@ Below is an example of how to write an echo server:
server.attach(Rev::Loop.default)

puts "Echo server listening on #{HOST}:#{PORT}"
Rev::Loop.default.run</pre></code>
Rev::Loop.default.run</code></pre>

Here a new observer type (EchoServerConnection) is made by subclassing an
existing one and adding new implementations to existing event handlers.
Expand Down

0 comments on commit 23b9157

Please sign in to comment.