module Enumerable

Public Instance Methods

to_list(klass = List, *args, &block) click to toggle source
# File lib/M500_containers.rb, line 2
def to_list(klass = List, *args, &block)
  klass.new!(self, *args, &block)
end