module Lingo::ArrayUtils

Private Instance Methods

combinations(first, *rest, &block) click to toggle source
# File lib/lingo/array_utils.rb, line 32
def combinations(first, *rest, &block)
  first.product(*rest, &block)
end