class Addressable::Template

def variable_defaults

Returns:
  • (Hash) - Mapping of template variables to their defaults
def variable_defaults
  @variable_defaults ||=
    Hash[*ordered_variable_defaults.reject { |k, v| v.nil? }.flatten]
end