lib/ctf_party/hex.rb in ctf-party-1.2.1 vs lib/ctf_party/hex.rb in ctf-party-1.3.0
- old
+ new
@@ -20,10 +20,10 @@
# Encode an hexadecimal string to a decimal string in place as described
# for {String#hex2dec}.
# @example
# a = 'ff'
# a.hex2dec!
- # a # => => "255"
+ # a # => "255"
def hex2dec!(opts = {})
replace(hex2dec(opts))
end
# Encode an decimal string to a hexadecimal string