Class: Aws::Templates::Render::Utils::Inspect::InspectView

Inherits:
BasicView show all
Defined in:
lib/aws/templates/render/utils/inspect.rb

Overview

Basic inspection render

Defines “depth” property which is used to control recursion depth during object introspection.

Instance Attribute Summary

Attributes inherited from Processor::Handler

#context, #parameters

Instance Method Summary collapse

Methods inherited from BasicView

#to_rendered

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

#depthObject



31
32
33
# File 'lib/aws/templates/render/utils/inspect.rb', line 31

def depth
  (parameters.nil? ? Inspect.recursion_depth : Integer(parameters)) - 1
end