Class: Adopter::ConvertedFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/adopter/migration_plan.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



65
66
67
# File 'lib/adopter/migration_plan.rb', line 65

def content
  @content
end

#conversion_notesObject

Returns the value of attribute conversion_notes

Returns:

  • (Object)

    the current value of conversion_notes



65
66
67
# File 'lib/adopter/migration_plan.rb', line 65

def conversion_notes
  @conversion_notes
end

#output_pathObject

Returns the value of attribute output_path

Returns:

  • (Object)

    the current value of output_path



65
66
67
# File 'lib/adopter/migration_plan.rb', line 65

def output_path
  @output_path
end

#source_fileObject

Returns the value of attribute source_file

Returns:

  • (Object)

    the current value of source_file



65
66
67
# File 'lib/adopter/migration_plan.rb', line 65

def source_file
  @source_file
end

Instance Method Details

#to_hObject



66
67
68
69
70
71
72
73
# File 'lib/adopter/migration_plan.rb', line 66

def to_h
  {
    output_path:,
    content:,
    source_file:,
    conversion_notes:
  }
end