On this page
Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.4
Prism::AndNode
Represents the use of the ‘&&` operator or the and keyword.
left and right ^^^^^^^^^^^^^^
Class methods 2
Instance methods 13
Attributes
Read
Represents the left side of the expression. It can be any [non-void expression](github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
left and right ^^^^ 1 && 2 ^
Read
Represents the right side of the expression.
left && right
^^^^^
1 and 2
^