module AWS::Flow::Utilities::UpwardLookups::InstanceMethods

@api private

Attributes

precursors[RW]

Public Instance Methods

look_upwards(variable) click to toggle source
# 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