shortest_abbreviation

shortest_abbreviation(s='', m=callable_methods) Instance Public methods

showHelp

showHelp() Instance Public methods

showMessageBox

showMessageBox(w) Instance Public methods

showMessageBox2

showMessageBox2(w) Instance Public methods

show_loupe

show_loupe(setting=nil) Instance Public methods

show_message

show_message(message) Instance Public methods

sieve

sieve(m) Instance Public methods The Computer Language Shootout shootout.alioth.debian.org/ contributed by Glenn Parker, March 2005 modified by Evan Phoenix, Sept 2006

singleton_class

obj.singleton_class â class Instance Public methods Returns the singleton class of obj. This method creates a new singleton class if obj does not have it. If obj is nil, true, or false, it returns NilClass, TrueClass, or FalseClass, respectively. If obj is a Fixnum or a Symbol, it raises a TypeError. Object.new.singleton_class #=> #<Class:#<Object:0xb7ce1e24>> String.singleton_class #=> #<Class:String> nil.singleton_class #=> NilClass

singleton_methods

obj.singleton_methods(all=true) â array Instance Public methods Returns an array of the names of singleton methods for obj. If the optional all parameter is true, the list will include methods in modules included in obj. Only public and protected singleton methods are returned. module Other def three() end end class Single def Single.four() end end a = Single.new def a.one() end class << a include Other def two() end end Single.singleton_methods #=> [

some_function

some_function(num) Instance Public methods