Class: Proto

Inherits:
Object
  • Object
show all
Includes:
CSVifier
Defined in:
lib/resources/Proto.rb

Constant Summary collapse

KEY_FIELDS =
{
    'Root' => { property: :root, comment: "Property providing information about the entity being datafied."      },
    'ID'   => { property: :id,   comment: "Traditional ID property."      },
}
PROPERTY_FIELDS =
{
    'Introduction' => { property: :introduction, comment: "Informative material."   },
    'Attribute'    => { property: :attribute,    comment: "Something of interest."  }

}

Constants included from BaseDatafier

BaseDatafier::BASE_HARVEST_DATA_FIELDS, BaseDatafier::DETAILS_PROPERTY_FIELDS

Instance Attribute Summary

Attributes included from FileProvider

#file_name

Method Summary

Methods included from CSVifier

#csvRecord, #data_fields, #details, #detailsCSVRecords, #details_fields, #harvest, #harvestNow, included, #logFileName, #logger, #persist, #persistWhen, #persist_data, #persist_details, #printCSVRecord, #printDataFields, #printDataFiles, #printDetails, #printDetailsCSVRecords, #printDetailsFields, #printFields, #printProperties, #properties, #record, #registerError, #register_detail, #resetDataFields, #resetDetails, #to_s

Methods included from FileProvider

backupFile, #backupFile, dataDir, dataDir=, #dataTextFile, getBackupFileName, getDataDir, getDataFileName, getDir, getLogDir, localDir, localDir=, logDir, logDir=, #openLogFile, #removeFile

Methods included from BaseDatafier

#data_fields, #details_fields, #flattenTextLines, included, #logger, #now, #numify