Module: AWS::Flow::Utilities::UpwardLookups::InstanceMethods Private

Included in:
Options
Defined in:
lib/aws/decider/utilities.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#precursorsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



340
341
342
# File 'lib/aws/decider/utilities.rb', line 340

def precursors
  @precursors
end

Instance Method Details

#look_upwards(variable) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



341
342
343
344
345
346
# File 'lib/aws/decider/utilities.rb', line 341

def look_upwards(variable)
  all_precursors = @precursors.dup
  all_precursors.concat self.class.default_classes
  results = all_precursors.map { |x| x.send(variable) if x.methods.map(&:to_sym).include? variable }.compact
  results.first
end