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

#inspectObject



16
17
18
# File 'lib/aws/templates/utils/inspectable.rb', line 16

def inspect
  Render::Utils::Inspect.view_for(self).to_rendered
end

#to_sObject



12
13
14
# File 'lib/aws/templates/utils/inspectable.rb', line 12

def to_s
  Render::Utils::Stringify.view_for(self).to_rendered
end