Skip to content

Minor formatting fix for example code #2

Closed
wants to merge 1 commit into from
+1 −1
View
2 contribute.html
@@ -29,7 +29,7 @@
There are a few guidelines your code should follow.
</p>
<h3>1. Parentheses around parameter lists for methods</h3>
- <pre><code># BAD!<br />def my_method param, arg<br /> puts "OH NOEZ!"<br />end<br /><br /># GOOD!<br />def my_method(param, arg)<br /> puts "HOORAYZ!" end</code></pre>
+ <pre><code># BAD!<br />def my_method param, arg<br /> puts "OH NOEZ!"<br />end<br /><br /># GOOD!<br />def my_method(param, arg)<br /> puts "HOORAYZ!"<br />end</code></pre>
<h3>2. Two space indent</h3>
<pre><code># BAD!<br />def tabby<br /> puts "A fat tab!"<br />end<br /><br /># GOOD!<br />def tabby<br /> puts "Two spaces!"<br />end</code></pre>
<h3>3. Documentation is required</h3>
Something went wrong with that request. Please try again.