Programming Ruby 3.2 (5th Edition): eslif typo (Control Structures)

“One thing you might find unusual is that in the second clause Ruby uses the keyword eslif—one word, missing an “e”—to indicate “else if”. Breaking that keyword up into else if would be a syntax error.”

Excerpt From
Programming Ruby, 3.2
Noel Rappin, with Dave Thomas
This material may be protected by copyright.