Inspectopedia
 
2024.3

Deprecated syntax

Warning
New
Last modified: 03 December 2024

Reports the use of the syntax deprecated from Ruby 1.9. For example, : instead of then for one-line if, when, unless.

Example: