Class: Recon::Type::Splits

Inherits:
Object
  • Object
show all
Extended by:
DS::Util
Includes:
ReconType
Defined in:
lib/ds/recon/type/splits.rb

Constant Summary collapse

SET_NAME =
:splits
RECON_CSV_HEADERS =
%i{ as_recorded authorized_label }
LOOKUP_COLUMNS =
%i{ authorized_label }
KEY_COLUMNS =
%i{ as_recorded }
AS_RECORDED_COLUMN =
:as_recorded
DELIMITER_MAP =
{}
METHOD_NAME =
[]
BALANCED_COLUMNS =
{}

Constants included from DS::Util::Strings

DS::Util::Strings::ABBREV_REGEX, DS::Util::Strings::ELLIPSIS_REGEX, DS::Util::Strings::FINAL_QUESTION_REGEX, DS::Util::Strings::TERMINAL_PUNCT_REGEX

Class Method Summary collapse

Methods included from DS::Util

process_xml

Methods included from DS::Util::Strings

#clean_string, #clean_white_space, #convert_mets_superscript, #escape_pipes, #fix_double_periods, #is_url?, #normalize_string, #remove_brackets, #terminate, #unicode_normalize

Methods included from ReconType

included

Class Method Details

._lookup_single(as_recorded, from_column:) ⇒ Object



27
28
29
30
# File 'lib/ds/recon/type/splits.rb', line 27

def self._lookup_single as_recorded, from_column:
  key_values = [as_recorded]
  Recon.lookup_single(:splits, key_values: key_values , column: from_column)
end