global_variables « Reflection « Ruby





1.Kernel's method global_variables returns all the global variables, including $ship.