Skip to content

Conversation

alectrico-pro
Copy link

'value' instance method works like a getter method, it doesn't save input values. Fixit by using 'default' setter method instead.

'value' instance method works like a getter method, it doesn't save input values. 
Fixit by using  'default' setter method instead.
@rafaelfranca
Copy link
Member

What do you mean with it doesn't save input values? Implementation show it does https://github.com/rails/kredis/blob/main/lib/kredis/types/scalar.rb#L11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants