Sha256: 8b5c3abcc395dd13b391cdae0883a18ab52c8acd26ebd11972b11525b2b2c057
Contents?: true
Size: 479 Bytes
Versions: 5
Compression:
Stored size: 479 Bytes
Contents
module Alf module Engine # # Remove duplicate tuples through an in-memory `to_set` heuristics. # class Compact::Set < Cog # @return [Enumerable] The operand attr_reader :operand # Creates a Compact::Set instance def initialize(operand) @operand = operand end # (see Cog#each) def each(&block) operand.to_set.each(&block) end end # class Compact::Set end # module Engine end # module Alf
Version data entries
5 entries across 5 versions & 1 rubygems