Class: Relyze::DiffResults::DiffModelResult
- Inherits:
-
DiffBaseResult
- Object
- DiffBaseResult
- Relyze::DiffResults::DiffModelResult
- Defined in:
- C:/Program Files/Relyze/lib/relyze/core/diff_results.rb
Instance Attribute Summary collapse
-
#model ⇒ Relyze::ExecutableFileModel?
readonly
Get the #model associated with this diff result.
Attributes inherited from DiffBaseResult
#difference, #matched_rva, #parent, #rva, #type
Instance Method Summary collapse
-
#initialize(model, type, difference) ⇒ DiffModelResult
constructor
A new instance of DiffModelResult.
-
#name ⇒ String
Get the name of this diff result.
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
#model ⇒ Relyze::ExecutableFileModel? (readonly)
Get the #model associated with this diff result.
347 348 349 |
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 347 def model @model end |
Instance Method Details
#name ⇒ String
Get the name of this diff result.
357 358 359 |
# File 'C:/Program Files/Relyze/lib/relyze/core/diff_results.rb', line 357 def name @model.current_file_path end |