Class: Hecks::Bluebook::TranslationRetype

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

Overview

A value object's or entity's own TYPE NAME changed with its member structure unchanged — the one drift rename/move cannot express, because the attribute kept its name and only the type it points at was renamed. Mirrors was: one level deeper.

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



20
21
22
# File 'lib/hecks/bluebook/translation.rb', line 20

def from
  @from
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



20
21
22
# File 'lib/hecks/bluebook/translation.rb', line 20

def to
  @to
end