Class: Lutaml::Model::GatherRule

Inherits:
ConsolidationRule show all
Defined in:
lib/lutaml/model/consolidation_rule/gather_rule.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source, target) ⇒ GatherRule

Returns a new instance of GatherRule.

Parameters:

  • source (Symbol)

    attribute name on raw items

  • target (Symbol)

    attribute name on GroupClass



10
11
12
13
14
# File 'lib/lutaml/model/consolidation_rule/gather_rule.rb', line 10

def initialize(source, target)
  super
  @source = source
  @target = target
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



6
7
8
# File 'lib/lutaml/model/consolidation_rule/gather_rule.rb', line 6

def source
  @source
end

#targetObject (readonly)

Returns the value of attribute target.



6
7
8
# File 'lib/lutaml/model/consolidation_rule/gather_rule.rb', line 6

def target
  @target
end