def extract_defaults(result)
      defaults = options[:defaults] || (result if result.is_a?(Hash)) || {}

      options[:dynamic_defaults], options[:static_defaults] = partition_defaults(defaults)
    end
def extract_defaults(result)
      defaults = options[:defaults] || (result if result.is_a?(Hash)) || {}

      options[:dynamic_defaults], options[:static_defaults] = partition_defaults(defaults)
    end
Internal: Prepares the default arguments for the builder.
 The return value of the configuration block may provide the defaults.

 result - The return value of the configuration block.

 Returns nothing.