Skip to content

Commit 482b530

Browse files
ohno418nobu
authored andcommitted
[DOC] Correct output in calling_methods.rdoc
1 parent f9aadc6 commit 482b530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/syntax/calling_methods.rdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,14 @@ override local arguments outside the block in the caller's scope:
291291
This prints:
292292

293293
hello main this is block
294-
place is world
294+
place is: world
295295

296296
So the +place+ variable in the block is not the same +place+ variable as
297297
outside the block. Removing <code>; place</code> from the block arguments
298298
gives this result:
299299

300300
hello main this is block
301-
place is block
301+
place is: block
302302

303303
=== Unpacking Positional Arguments
304304

0 commit comments

Comments
 (0)