class Aws::Templates::Help::Rdoc::Parametrized::Transformations::AsObject

Object transformation documentation

Prints documentation for the transformation of a parameter where nested structure is defined. Nested class description is provided.

Public Instance Methods

provide() click to toggle source
# 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