Ruby equivalent of Python’s “dir”? March 29, 2023 by Tarik As far as I know not exactly but you get somewhere with object.methods.sort