Skip to content

Commit c434649

Browse files
committed
Fix a typo
1 parent 6199474 commit c434649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2951,7 +2951,7 @@ def set_x(x) = (@x = x)
29512951
def print_foo = puts("foo")
29522952
----
29532953

2954-
=== Ambiguous Endless Method Definitions [[ambiguous-endless-method-defintions]]
2954+
=== Ambiguous Endless Method Definitions [[ambiguous-endless-method-definitions]]
29552955

29562956
Keywords with lower precedence than `=` can appear ambiguous when used after an endless method definition. This includes `and`, `or`, and the modifier forms of `if`, `unless`, `while`, and `until`. In these cases, the code may appear to include these keywords as part of the method body, but instead they actually modify the method definition itself.
29572957

0 commit comments

Comments
 (0)