Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1611,8 +1611,8 @@ foo = true and false # results in foo being equal to true. Equivalent to (foo =
bar = false or true # results in bar being equal to false. Equivalent to (bar = false) or true
----

Also `&&` has higher precedence than `||`, whereas `and` and `or` have the same one. Funny enough, even though `and` and `or`
were inspired by Perl, they don't have different precedence in Perl.
Also `&&` has higher precedence than `||`, whereas `and` and `or` have the same one. Funny enough, `and` and `or`
were inspired by Perl, where `and` does have higher precedence than `or`.

[source,ruby]
----
Expand Down