expect(v.valid_value?('the_file.bat')).to eq(false) expect(validator.valid_value?('ok')).to eq(true) expect(validator.valid_value?('yep long enough')).to eq(true ...
Prompts the user for a positive integer input (0< n < 100) and validates it. The function will continue to prompt the user until a valid input is received.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果