Class: 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 BasicView
Instance Method Summary collapse
Methods inherited from BasicView
artifact, #in_instance, #initialize, register_in, render, #render, #rendered_for, #to_rendered
Constructor Details
This class inherits a constructor from Aws::Templates::Render::BasicView
Instance Method Details
#depth ⇒ Object
33 34 35 |
# File 'lib/aws/templates/render/utils/inspect.rb', line 33 def depth (parameters.nil? ? Inspect.recursion_depth : Integer(parameters)) - 1 end |