I know of Python's list method that can consume all elements from a generator. Is there something like that available in Ruby? method that can consume
I know of Python's list method that can consume all elements from a generator. Is there something like that available in Ruby? method that can consume