Class: Aws::Templates::Help::Rdoc::Default::Definition::Pair

Inherits:
Aws::Templates::Help::Rdoc::Default::Definition show all
Defined in:
lib/aws/templates/help/rdoc/default/definition.rb

Overview

Combined definition documentation provider

Composes left and right component of the pair into a documentation block.

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



34
35
36
37
38
39
40
# File 'lib/aws/templates/help/rdoc/default/definition.rb', line 34

def provide
  sub do |s|
    _add_parts(context.a, s)
    s << text('_overlayed_ _with_')
    _add_parts(context.b, s)
  end
end