Skip to content

Commit 23537ae

Browse files
committed
Merge pull request #387 from philipgiuliani/patch-1
Change to implicit begin block
2 parents 30b4074 + cfe117c commit 23537ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,11 +2500,9 @@ condition](#safe-assignment-in-condition).
25002500

25012501
```Ruby
25022502
def foo
2503-
begin
2504-
fail
2505-
ensure
2506-
return 'very bad idea'
2507-
end
2503+
fail
2504+
ensure
2505+
return 'very bad idea'
25082506
end
25092507
```
25102508

0 commit comments

Comments
 (0)