Ruby Standard Library - generator