module Utils::IRB::Shell
def irb_constants(modul = self)
-
(Array
- an array of ConstantWrapper objects)
Parameters:
-
modul
(Object
) -- the module from which to retrieve constants
def irb_constants(modul = self) modul.constants.map { |c| ConstantWrapper.new(modul.const_get(c), c) }.sort end