Sha256: f916801520872cf927a1fa350c0eb7fd01690ca52ea3d58a1d08b3f4333fb747

Contents?: true

Size: 434 Bytes

Versions: 5

Compression:

Stored size: 434 Bytes

Contents

module Alf
  module Operator
    module Relational
      class Heading
        include Relational, Unary, Experimental

        signature do |s|
        end
      
        # (see Operator#each)
        def each
          yield(operand.inject(Alf::Heading::EMPTY){|h,t|
            h + Tools.tuple_heading(t)
          }.to_h)
        end

      end # class Project
    end # module Relational
  end # module Operator
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-0.12.2 lib/alf/operator/relational/heading.rb
alf-0.12.1 lib/alf/operator/relational/heading.rb
alf-0.12.0 lib/alf/operator/relational/heading.rb
alf-0.11.1 lib/alf/operator/relational/heading.rb
alf-0.11.0 lib/alf/operator/relational/heading.rb