def hash_to_model taskrc_hash
      taskrc_hash.each do |attr, value|
        add_model_attr(attr, value)
        set_model_attr_value(attr, value)
      end
      config
    end
def hash_to_model taskrc_hash
      taskrc_hash.each do |attr, value|
        add_model_attr(attr, value)
        set_model_attr_value(attr, value)
      end
      config
    end
Generate a dynamic Virtus model, with the attributes defined by the input

 @param rc [Hash, Pathname] either a hash of attribute value pairs
   or a Pathname to the raw taskrc file.
 @raise [TypeError] if rc is not of type Hash, String, or Pathname
 @raise [RuntimeError] if rc is a path and does not exist on the fs
 Turn a hash of attribute => value pairs into a TaskrcModel object.
 There can be only one TaskrcModel object per Taskrc, it's saved to the
 instance variable `config`

 @param taskrc_hash [Hash{Symbol=>String}]
 @return [Models::TaskrcModel] the instance variable config
 @api private