module Aws::Templates::Utils::Default::Refinements

Functionality-specific refinements

Public Instance Methods

override?() click to toggle source

If the object can be considered a defaults override

It is the one which can't be merged with existing defaults layers

# File lib/aws/templates/utils/default.rb, line 27
def override?
  respond_to?(:to_sym) || !(respond_to?(:to_proc) || Utils.recursive?(self))
end
to_definition() click to toggle source

Transform object to defaults definition.

# File lib/aws/templates/utils/default.rb, line 33
def to_definition
  Definition.from(self)
end