Class: Hecks::Bluebook::TranslationConvert
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Bluebook::TranslationConvert
- Defined in:
- lib/hecks/bluebook/translation.rb
Overview
One field whose VALUE, not just its name or position, changed —
an old value has nothing in common with a new one, so the only
honest way to bridge it is a declared, exhaustive lookup table.
Paths follow TranslationMove's convention (dotted reaches a VO
member); values maps every old-era value that can appear to its
new-era replacement.
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
14 15 16 |
# File 'lib/hecks/bluebook/translation.rb', line 14 def from @from end |
#to ⇒ Object
Returns the value of attribute to
14 15 16 |
# File 'lib/hecks/bluebook/translation.rb', line 14 def to @to end |
#values ⇒ Object
Returns the value of attribute values
14 15 16 |
# File 'lib/hecks/bluebook/translation.rb', line 14 def values @values end |