Sha256: 5aa6d75423c0dd437a872c7982f191b9a535efee10906179e90710cd72f74c6a

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 Bytes

Contents

module Alf
  module Algebra
    class Allbut
      include Shortcut
      include Unary

      signature do |s|
        s.argument :attributes, AttrList, []
      end

      def expand
        project(operand, attributes, allbut: true)
      end

      def key_preserving?
        expand.key_preserving?
      end

      def stay_attributes
        expand.stay_attributes
      end

    end # class Allbut
  end # module Algebra
end # module Alf

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alf-core-0.16.3 lib/alf/algebra/shortcut/allbut.rb
alf-core-0.16.2 lib/alf/algebra/shortcut/allbut.rb
alf-core-0.16.1 lib/alf/algebra/shortcut/allbut.rb
alf-core-0.16.0 lib/alf/algebra/shortcut/allbut.rb
alf-core-0.15.0 lib/alf/algebra/shortcut/allbut.rb