does anyone know *why* Kernel module exist? why isn't the methods just defined directly on Object?
@judofyr I always figured it was a place to put all the not-really-OO stuff that doesn't really belong in Object and subclasses (like convenient IO and running subprocesses and other procedural helpers)
@james but even methods like #instance_variables are defined in Kernel:
>> "".method(:instance_variables).owner => Kernel
A Mastodon instance for Rubyists & friends