Class: Anima::ConfigMigrator::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/anima/config_migrator.rb

Overview

Outcome of a migration run.

Instance Attribute Summary collapse

Instance Attribute Details

#additionsObject (readonly)

Returns the value of attribute additions

Returns:

  • (Object)

    the current value of additions



32
33
34
# File 'lib/anima/config_migrator.rb', line 32

def additions
  @additions
end

#additions [Array<Addition>] keys that were added([Array<Addition>]) ⇒ Object (readonly)

Outcome of a migration run.



32
# File 'lib/anima/config_migrator.rb', line 32

Result = Data.define(:status, :additions)

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



32
33
34
# File 'lib/anima/config_migrator.rb', line 32

def status
  @status
end

#status [Symbol] :not_found, :up_to_date, or :updated([Symbol], : up_to_date) ⇒ Object (readonly)

Outcome of a migration run.



32
# File 'lib/anima/config_migrator.rb', line 32

Result = Data.define(:status, :additions)