Class: Aws::Templates::Render::Utils::Inspect::InspectView
- Inherits:
-
BasicView
- Object
- Processor::Handler
- BasicView
- Aws::Templates::Render::Utils::Inspect::InspectView
- 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
Instance Method Summary collapse
Methods inherited from BasicView
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
#depth ⇒ Object
31 32 33 |
# File 'lib/aws/templates/render/utils/inspect.rb', line 31 def depth (parameters.nil? ? Inspect.recursion_depth : Integer(parameters)) - 1 end |