Class: Insika::Refinement::Dropped
- Inherits:
-
Data
- Object
- Data
- Insika::Refinement::Dropped
- Defined in:
- lib/insika/refinement/candidate.rb
Overview
A dropped edit and why. Kept ON the candidate rather than logged: "the model proposed four things and one was stale" is exactly what an operator reviewing the loop's usefulness needs, and asks them to judge precisely that.
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#op ⇒ Object
readonly
Returns the value of attribute op.
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file
44 45 46 |
# File 'lib/insika/refinement/candidate.rb', line 44 def file @file end |
#op ⇒ Object (readonly)
Returns the value of attribute op
44 45 46 |
# File 'lib/insika/refinement/candidate.rb', line 44 def op @op end |
#reason ⇒ Object (readonly)
Returns the value of attribute reason
44 45 46 |
# File 'lib/insika/refinement/candidate.rb', line 44 def reason @reason end |
Instance Method Details
#to_h ⇒ Object
45 |
# File 'lib/insika/refinement/candidate.rb', line 45 def to_h = { "file" => file, "op" => op, "reason" => reason } |