Augustin Gottlieb 912cf819b9 [ruby/openssl] Improve Argument Error Message in EC:Group.new
Before, passing the wrong number of arguments (e.g., 2) to
OpenSSL::PKey::EC::Group.new raised a generic "wrong number of
arguments"
error.

This change updates it to show the actual argument count and the
expected
options (1 or 4), making debugging easier for the user.

Example:
ArgumentError: wrong number of arguments (given 2, expected 1 or 4)

I hope it helps!

https://github.com/ruby/openssl/commit/783c99e6c7
2026-01-04 06:56:57 +00:00
..
2025-12-17 14:16:38 +09:00
2025-12-12 00:29:21 +01:00
2025-12-17 15:47:43 +09:00
2025-12-10 06:39:36 +00:00
2025-11-10 10:12:10 +00:00
2025-11-27 15:00:57 +09:00