Module: Aws::Templates::Utils::Inspectable
- Included in:
- Dependency, Parametrized
- Defined in:
- lib/aws/templates/utils/inspectable.rb
Overview
Inspect mixin.
Mixin provides means of composing inspect strings for objects through framework’s rendering mechanism.
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
15 16 17 18 |
# File 'lib/aws/templates/utils/inspectable.rb', line 15 def inspect ::Kernel.require 'aws/templates/render/utils/inspect' ::Aws::Templates::Render::Utils::Inspect.view_for(self).to_rendered end |
#to_s ⇒ Object
10 11 12 13 |
# File 'lib/aws/templates/utils/inspectable.rb', line 10 def to_s ::Kernel.require 'aws/templates/render/utils/stringify' ::Aws::Templates::Render::Utils::Stringify.view_for(self).to_rendered end |