~ self -> Integer
ビット演算子。否定を計算します。
~1 # => -2 ~3 # => -4 ~-4 # => 3 ~1 # => -2 ~3 # => -4 ~-4 # => 3
~1 # => -2 ~3 # => -4 ~-4 # => 3