class Aws::Templates::Help::Rdoc::Parametrized::Constraints::AllOf

Chained constraint provider

Prints documentation blocks for all of the nexted constraints in the chain.

Protected Instance Methods

add_description(item) click to toggle source
# File lib/aws/templates/help/rdoc/parametrized/constraints/all_of.rb, line 18
def add_description(item)
  item << text('satisfies all of the following:')
  item << members
end

Private Instance Methods

members() click to toggle source
# File lib/aws/templates/help/rdoc/parametrized/constraints/all_of.rb, line 25
def members
  list(:BULLET) do |l|
    context.constraints
           .lazy
           .map { |constraint| processed_for(constraint) }
           .each { |part| l << part }
  end
end