Class: Aws::Templates::Help::Rdoc::Parametrized::Transformations::AsObject
- Inherits:
-
Aws::Templates::Help::Rdoc::Parametrized::Transformation
- Object
- Processor::Handler
- Provider
- Aws::Templates::Help::Rdoc::Provider
- Aws::Templates::Help::Rdoc::Parametrized::Transformation
- Aws::Templates::Help::Rdoc::Parametrized::Transformations::AsObject
- Defined in:
- lib/aws/templates/help/rdoc/parametrized/transformations/as_object.rb
Overview
Object transformation documentation
Prints documentation for the transformation of a parameter where nested structure is defined. Nested class description is provided.
Instance Attribute Summary
Attributes inherited from Processor::Handler
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
#provide ⇒ Object
17 18 19 20 21 22 23 24 25 |
# File 'lib/aws/templates/help/rdoc/parametrized/transformations/as_object.rb', line 17 def provide klass = processed_for(context.klass) if klass.nil? sub(text('as an object')) else sub(text('as an object with:'), processed_for(context.klass)) end end |