3 ms·
I don't know of anyone actually doing that, but all the code is right there. You could probably wrangle the linter into checking those things if you really want
by WJW 5y ago
I don't know of anyone actually doing that, but all the code is right there. You could probably wrangle the linter into checking those things if you really want to. That said, many Ruby frameworks rely on being able to dynamically add methods to classes at runtime so I don't think such a thing would be all that beneficial.