Class: Ast::Merge::DiffMapperBase::DiffParseResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast/merge/diff_mapper_base.rb

Overview

Result of parsing a diff file

Instance Attribute Summary collapse

Instance Attribute Details

#hunksObject

Returns the value of attribute hunks

Returns:

  • (Object)

    the current value of hunks



53
54
55
# File 'lib/ast/merge/diff_mapper_base.rb', line 53

def hunks
  @hunks
end

#new_fileObject

Returns the value of attribute new_file

Returns:

  • (Object)

    the current value of new_file



53
54
55
# File 'lib/ast/merge/diff_mapper_base.rb', line 53

def new_file
  @new_file
end

#old_fileObject

Returns the value of attribute old_file

Returns:

  • (Object)

    the current value of old_file



53
54
55
# File 'lib/ast/merge/diff_mapper_base.rb', line 53

def old_file
  @old_file
end