Class: Alf::Algebra::Allbut

Inherits:
Object
  • Object
show all
Includes:
Shortcut, Unary
Defined in:
lib/alf/algebra/shortcut/allbut.rb

Instance Method Summary collapse

Methods included from Unary

included, #operand, #with_operand

Methods included from Shortcut

included

Instance Method Details

#expandObject


11
12
13
# File 'lib/alf/algebra/shortcut/allbut.rb', line 11

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

#key_preserving?Boolean

Returns:

  • (Boolean)

15
16
17
# File 'lib/alf/algebra/shortcut/allbut.rb', line 15

def key_preserving?
  expand.key_preserving?
end

#stay_attributesObject


19
20
21
# File 'lib/alf/algebra/shortcut/allbut.rb', line 19

def stay_attributes
  expand.stay_attributes
end