adds a with keyword to ruby