Class: Alf::Algebra::Generator

Inherits:
Object
  • Object
show all
Includes:
NonRelational, Nullary, Operator
Defined in:
lib/alf-algebra/alf/algebra/operator/generator.rb

Instance Attribute Summary

Attributes included from Operator

#operands

Attributes included from Support::Bindable

#connection

Instance Method Summary collapse

Methods included from Operator

#==, #bind, #dup, included, #initialize, #signature, #to_lispy, #to_relvar, #with_operands

Methods included from Support::Registry

#each, #listen, #listeners, #register, #registered

Methods included from Operand

#attr_list, coerce, #to_cog, #to_dot, #to_relation

Methods included from Support::Bindable

#bind, #bound?, #connection!

Methods included from NonRelational

included

Methods included from Nullary

included

Instance Method Details

#headingObject



11
12
13
# File 'lib/alf-algebra/alf/algebra/operator/generator.rb', line 11

def heading
  @heading ||= Heading[as => Integer]
end

#keysObject



15
16
17
# File 'lib/alf-algebra/alf/algebra/operator/generator.rb', line 15

def keys
  @keys ||= Keys[ [as] ]
end