lib/cose/key/curve_key.rb in cose-0.11.0 vs lib/cose/key/curve_key.rb in cose-1.0.0
- old
+ new
@@ -18,10 +18,10 @@
x: map[LABEL_X],
d: map[LABEL_D]
}
end
- def initialize(crv:, x: nil, d: nil, **keyword_arguments) # rubocop:disable Naming/UncommunicativeMethodParamName
+ def initialize(crv:, x: nil, d: nil, **keyword_arguments) # rubocop:disable Naming/MethodParameterName
super(**keyword_arguments)
if !crv
raise ArgumentError, "Required crv is missing"
elsif !x && !d