logoalt Hacker News

joeldrapper04/02/20251 replyview on HN

It’s because that’s how constants are named in Ruby. The method names match the constant names of the component classes.


Replies

dragonwriter04/02/2025

methods aren't constants and the normal ruby idiom if there was a reason for method names to correspond to class/constant names in a different module would be for the method names to be the constant name converted from PascalCass to snake_case, rather than the method names being in the format of constant names.