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
- #precursors ⇒ Object private
Instance Method Summary collapse
- #look_upwards(variable) ⇒ Object private
Instance Attribute Details
#precursors ⇒ 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.
205 206 207 |
# File 'lib/aws/decider/utilities.rb', line 205 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.
206 207 208 209 210 211 |
# File 'lib/aws/decider/utilities.rb', line 206 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 |