O'Reilly logo
  • Mike Ristau thinks this is interesting:

elseif (o.is_a?(Hash))

From

Cover of RSpec Essentials

Note

typo: “elseif”
Should be “elsif”