Class: Aws::Templates::Help::Rdoc::Parametrized::Parameter

Inherits:
Aws::Templates::Help::Rdoc::Provider show all
Defined in:
lib/aws/templates/help/rdoc/parametrized/parameter.rb

Overview

Parameter documentation provider

Combines parameter description and documentation blocks for constraint, getter and transformation if they are assigned to the parameter.

Instance Attribute Summary

Attributes inherited from Processor::Handler

#context, #parameters

Instance Method Summary collapse

Methods included from Texting

#document, #list, #parsed_for, #sub, #text

Methods inherited from Processor::Handler

for_entity, #handler_for, #in_context, #initialize, #processed_for, processor, #processor, register_in

Constructor Details

This class inherits a constructor from Aws::Templates::Processor::Handler

Instance Method Details

#provideObject



16
17
18
19
20
21
22
23
# File 'lib/aws/templates/help/rdoc/parametrized/parameter.rb', line 16

def provide
  sub(description) do |s|
    s << list(:BULLET) do |l|
      add_transformation(l)
      add_constraint(l)
    end
  end
end