File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -183,15 +183,16 @@ wkhtmltopdf can be installed in one of two methods
183183 end
184184 ```
185185
186- * Use an empty line before the return value of a method (unless it
187- only has one line), and an empty line between `def`s .
186+ * Use empty lines between `def`s and to break up a method into logical
187+ paragraphs .
188188
189189 ```Ruby
190190 def some_method
191- do_something
192- do_something_else
191+ data = initialize(options)
193192
194- result
193+ data.manipulate!
194+
195+ data.result
195196 end
196197
197198 def some_method
@@ -201,7 +202,6 @@ wkhtmltopdf can be installed in one of two methods
201202
202203* Use RDoc and its conventions for API documentation. Don't put an
203204 empty line between the comment block and the `def`.
204- * Use empty lines to break up a method into logical paragraphs.
205205* Keep lines fewer than 80 characters.
206206 * Emacs users might want to put this in their config
207207 (e.g. `~/.emacs.d/init.el`):
You can’t perform that action at this time.
0 commit comments