Class: Hecks::Ports::Agent::Suggestion

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/ports/agent.rb

Overview

ONE SUGGESTED NAME. rejected carries the near-misses and why they were passed over — free at the point the model is choosing anyway, and the part a human actually learns from.

Instance Attribute Summary collapse

Instance Attribute Details

#becauseObject

Returns the value of attribute because

Returns:

  • (Object)

    the current value of because



104
105
106
# File 'lib/hecks/ports/agent.rb', line 104

def because
  @because
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



104
105
106
# File 'lib/hecks/ports/agent.rb', line 104

def name
  @name
end

#rejectedObject

Returns the value of attribute rejected

Returns:

  • (Object)

    the current value of rejected



104
105
106
# File 'lib/hecks/ports/agent.rb', line 104

def rejected
  @rejected
end