Class: Aws::Templates::Help::Rdoc::Dsl

Inherits:
Provider show all
Defined in:
lib/aws/templates/help/rdoc/dsl.rb

Overview

Documentation blurb provider

Outputs description blurb attached to the object in a separate text 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



12
13
14
15
# File 'lib/aws/templates/help/rdoc/dsl.rb', line 12

def provide
  return if context.help.nil?
  sub(text('_Description_'), parsed_for(context.help))
end