Class: Ibex::Impact::ActionImpact
- Inherits:
-
Object
- Object
- Ibex::Impact::ActionImpact
- Defined in:
- lib/ibex/impact/action_impact.rb
Overview
Checks only structured action metadata; action source remains opaque.
Instance Attribute Summary collapse
- #findings ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(before, after, affected_names: nil) ⇒ ActionImpact
constructor
A new instance of ActionImpact.
- #to_a ⇒ Object
Constructor Details
#initialize(before, after, affected_names: nil) ⇒ ActionImpact
Returns a new instance of ActionImpact.
14 15 16 17 18 19 20 |
# File 'lib/ibex/impact/action_impact.rb', line 14 def initialize(before, after, affected_names: nil) @before = before @after = after @affected_names = affected_names @findings = compare freeze end |
Instance Attribute Details
#findings ⇒ Object (readonly)
11 12 13 |
# File 'lib/ibex/impact/action_impact.rb', line 11 def findings @findings end |
Instance Method Details
#to_a ⇒ Object
23 24 25 |
# File 'lib/ibex/impact/action_impact.rb', line 23 def to_a @findings end |