Class: Insika::Refinement::Dropped

Inherits:
Data
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



44
45
46
# File 'lib/insika/refinement/candidate.rb', line 44

def file
  @file
end

#opObject (readonly)

Returns the value of attribute op

Returns:

  • (Object)

    the current value of op



44
45
46
# File 'lib/insika/refinement/candidate.rb', line 44

def op
  @op
end

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



44
45
46
# File 'lib/insika/refinement/candidate.rb', line 44

def reason
  @reason
end

Instance Method Details

#to_hObject



45
# File 'lib/insika/refinement/candidate.rb', line 45

def to_h = { "file" => file, "op" => op, "reason" => reason }