Skip to content

Commit

Permalink
- add 'case' style
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed May 26, 2011
1 parent 9335997 commit b9e8cef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,15 @@ Short example:
# If it seems unreasonable, wrap and indent 4 spaces.
some_really_long_function_call_blah_blah_blah(arg1,
arg2, arg3, arg4)

case foo
when "bar"
puts "Hello world"
when /testing/
puts "testing
else
puts "I got nothin'"
end # case foo
end # def somefunc
end # class Foo

0 comments on commit b9e8cef

Please sign in to comment.