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