This is the API documentation for singleton: Ruby Standard Library Documentation.