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

**URL:** <https://forum.devtalk.com/t/programming-ruby-3-2-5th-edition-eslif-typo-control-structures/84348>\
**Category:** PragProg Customers\
**Tags:** suggestion, book-programming-ruby-3-2-5th-edition\
**Created:** [24 November 2022 16:01 UTC](https://forum.devtalk.com/t/programming-ruby-3-2-5th-edition-eslif-typo-control-structures/84348 "2022-11-24T16:01:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sthuysen](https://forum.devtalk.com/user_avatar/forum.devtalk.com/sthuysen/32/4655_2.png) [@sthuysen](https://forum.devtalk.com/u/sthuysen)\
**Post date:** [24 November 2022 16:01 UTC](https://forum.devtalk.com/t/programming-ruby-3-2-5th-edition-eslif-typo-control-structures/84348/1 "2022-11-24T16:01:55Z")

</div>

_“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.

---

<div class="post-metadata">

**Author:** ![noelrappin](https://forum.devtalk.com/user_avatar/forum.devtalk.com/noelrappin/32/481_2.png) [@noelrappin](https://forum.devtalk.com/u/noelrappin)\
**Post date:** [17 December 2022 14:30 UTC](https://forum.devtalk.com/t/programming-ruby-3-2-5th-edition-eslif-typo-control-structures/84348/2 "2022-12-17T14:30:57Z")

</div>

Thanks, that’s been fixed!
