CrackedRuby logo

CrackedRuby

Safe Navigation Operator (&.)

Using the safe navigation operator (&.) to avoid NoMethodError on nil objects

Ruby Language Fundamentals Operators
1.4.8

Safe Navigation Operator

This section covers the safe navigation operator.

Content coming soon...