code_junkie

Does Ruby best practice shun statement modifiers after, for example, a long code block that is passed to an iterator?

Nov 11th, 2011
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. bail_out if reqd_param.nil?
  2.  
  3. if its_gonna_be_long then
  4. long_exec stmt1
  5. long_exec stmt2
  6. ....
  7. end
  8.  
  9. if some_condition
Add Comment
Please, Sign In to add comment