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