Class: Igniter::Extensions::Contracts::Dataflow::AggregateOperators::Operator

Inherits:
Struct
  • Object
show all
Defined in:
lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#addObject

Returns the value of attribute add

Returns:

  • (Object)

    the current value of add



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def add
  @add
end

#finalizeObject

Returns the value of attribute finalize

Returns:

  • (Object)

    the current value of finalize



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def finalize
  @finalize
end

#initial_fnObject

Returns the value of attribute initial_fn

Returns:

  • (Object)

    the current value of initial_fn



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def initial_fn
  @initial_fn
end

#projectObject

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def project
  @project
end

#recomputeObject

Returns the value of attribute recompute

Returns:

  • (Object)

    the current value of recompute



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def recompute
  @recompute
end

#removeObject

Returns the value of attribute remove

Returns:

  • (Object)

    the current value of remove



8
9
10
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 8

def remove
  @remove
end

Instance Method Details

#initialObject



12
13
14
# File 'lib/igniter/extensions/contracts/dataflow/aggregate_operators.rb', line 12

def initial
  initial_fn.call
end