Class: Relyze::DiffResults::DiffModelResult

Inherits:
DiffBaseResult show all
Defined in:
C:/Program Files/Relyze/lib/relyze/core/diff_results.rb

Instance Attribute Summary collapse

Attributes inherited from DiffBaseResult

#difference, #matched_rva, #parent, #rva, #type

Instance Method Summary collapse

Methods inherited from DiffBaseResult

#_generate_child, #get_child, #get_children, #is_added?, #is_equal?, #is_modified?, #is_removed?, #matched

Constructor Details

#initialize(model, type, difference) ⇒ DiffModelResult

Returns a new instance of DiffModelResult.



349
350
351
352
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 349

def initialize( model, type, difference )
    super( nil, type, difference, 0, 0 )
    @model = model
end

Instance Attribute Details

#modelRelyze::ExecutableFileModel? (readonly)

Get the #model associated with this diff result.

Returns:



347
348
349
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 347

def model
  @model
end

Instance Method Details

#nameString

Get the name of this diff result.

Returns:

  • (String)

    This diff results name.



357
358
359
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 357

def name
    @model.current_file_path
end