Class: Aws::Templates::Help::Rdoc::DefaultProvider

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

Overview

Default help provider

Does a few preliminary check and either use insection of the target object or, if it supports recursive concept, goes recursively into it and composes resulting list tree of descriptions.

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



63
64
65
66
# File 'lib/aws/templates/help/rdoc.rb', line 63

def provide
  return _recursive if Utils.recursive?(context)
  _inspection
end