whole_func_string: function setFromObject(object) {
    Object.keys(object).forEach((name) => {
      options[name] = object[name];
    });
  }
func_code_string: function setFromObject(object) {
    Object.keys(object).forEach((name) => {
      options[name] = object[name];
    });
  }
func_documentation_string: Sets the options based on an object.