Get value from work method

Hello

How can I get a value calculated in def work(self, input_items, output_items) and use it in a getter method?
Until now, I defined a self.value but it does not change.
I attached a capture containing my code.

Thank you

1 Like

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs