Class: Hecks::Bluebook::TranslationMove

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

Overview

One field crossing a value-object boundary: a scalar becoming a VO member, a VO member becoming a scalar, or a rename across the move. Paths are dotted ("price.cents") for a VO member, bare otherwise.

Instance Attribute Summary collapse

Instance Attribute Details

#fromObject

Returns the value of attribute from

Returns:

  • (Object)

    the current value of from



6
7
8
# File 'lib/hecks/bluebook/translation.rb', line 6

def from
  @from
end

#toObject

Returns the value of attribute to

Returns:

  • (Object)

    the current value of to



6
7
8
# File 'lib/hecks/bluebook/translation.rb', line 6

def to
  @to
end