def self.list_methods
mlist = []
System.registered_classses.each do |cls|
name = String.new( cls )
name[0] = name[0].chr.downcase
begin
$roy_logger.debug( "[#{__LINE__}] System#list_methods has cls #{cls}" )
klass = eval( cls )
( klass.public_instance_methods -
Object.methods ).sort.each { |m|
$roy_logger.debug( "[#{__LINE__}] System#list_methods adding #{name}.#{m}" )
mlist << "#{name}.#{m}"
}
rescue Exception
STDERR.puts( "[#{__LINE__}] System#list_methods error #{$!}" )
$roy_logger.error( "[#{__LINE__}] System#list_methods error #{$!}" )
end
end
$roy_logger.debug( "[#{__LINE__}] System#list_methods returning #{mlist.inspect}" )
mlist
end