README.md in binary-1.3.1 vs README.md in binary-1.4.1

- old
+ new

@@ -22,11 +22,11 @@ ```ruby require 'binary' ``` -Binary to number: +Number to binary: ```ruby Binary.binary 2018 Or @@ -43,11 +43,11 @@ [7,9,11].to_b ``` `Output: ["111", "1001", "1011"]`. -Number to binary: +Binary to number: ```ruby Binary.number "11111100010" Or @@ -83,10 +83,10 @@ `Output: 6`. ```ruby # number of zeros in a number's binary Binary.zeros 1000 -# number of ones in 1000.to_b ("1111101000") +# number of zeros in 1000.to_b ("1111101000") ``` `Output: 4`. ```ruby # list of binaries of prime numbers from 2 to 25