Class: Kumi::Core::Analyzer::Plans::Join

Inherits:
Struct
  • Object
show all
Defined in:
lib/kumi/core/analyzer/plans.rb

Overview

Join plan: defines how to align multiple arguments at a target scope

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policy: :zip, target_scope: []) ⇒ Join

Returns a new instance of Join.



28
29
30
31
# File 'lib/kumi/core/analyzer/plans.rb', line 28

def initialize(policy: :zip, target_scope: [])
  super
  freeze
end

Instance Attribute Details

#policyObject

Returns the value of attribute policy

Returns:

  • (Object)

    the current value of policy



27
28
29
# File 'lib/kumi/core/analyzer/plans.rb', line 27

def policy
  @policy
end

#target_scopeObject

Returns the value of attribute target_scope

Returns:

  • (Object)

    the current value of target_scope



27
28
29
# File 'lib/kumi/core/analyzer/plans.rb', line 27

def target_scope
  @target_scope
end