Answer the question
In order to leave comments, you need to log in
How to limit the size of one hash entry in Ruby?
Suppose I need one entry (key => value) to have a fixed size of 200 bytes.
When creating a record with a size larger, I display an error in the console.
How can I do this using the language?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question