Class: AbideDevUtils::XCCDF::Diff::ProfileDiff
- Inherits:
-
Object
- Object
- AbideDevUtils::XCCDF::Diff::ProfileDiff
- Defined in:
- lib/abide_dev_utils/xccdf/diff.rb,
lib/abide_dev_utils/xccdf/diff/benchmark/profile.rb
Overview
Diffs two sets of XCCDF profiles.
Instance Method Summary collapse
- #diff ⇒ Object
- #diff_hash(diff_type, profile1, prof1_rules, profile2, prof2_rules) ⇒ Object
-
#initialize(profiles, other_profiles) ⇒ ProfileDiff
constructor
A new instance of ProfileDiff.
Constructor Details
#initialize(profiles, other_profiles) ⇒ ProfileDiff
Returns a new instance of ProfileDiff.
124 125 126 127 128 |
# File 'lib/abide_dev_utils/xccdf/diff.rb', line 124 def initialize(profile_a, profile_b, opts = {}) @profile_a = profile_a @profile_b = profile_b @opts = opts end |
Instance Method Details
#diff ⇒ Object
130 131 132 |
# File 'lib/abide_dev_utils/xccdf/diff.rb', line 130 def diff @diff ||= new_diff end |
#diff_hash(diff_type, profile1, prof1_rules, profile2, prof2_rules) ⇒ Object
14 15 16 17 18 |
# File 'lib/abide_dev_utils/xccdf/diff/benchmark/profile.rb', line 14 def diff_hash(diff_type, profile1, prof1_rules, profile2, prof2_rules) { } end |