Class: Hecks::Bluebook::TranslationBackfill

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/bluebook/translation.rb

Overview

A newly added, required attribute with no source in old data at all — not a rename, move, or convert, all of which need a FROM path in the old shape. default is the value an existing record reads until the next command against it writes a real one; unlike compute, this is adapter-agnostic — applied in-process by Lineage#translate, the same as rename/move/drop, because there is nothing to compute, only a value to declare.

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



47
48
49
# File 'lib/hecks/bluebook/translation.rb', line 47

def default
  @default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



47
48
49
# File 'lib/hecks/bluebook/translation.rb', line 47

def name
  @name
end