def method_missing(method) puts method end def Object.const_missing(const) print const.to_s + ", " end [Hello, World!]