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