From 40916407517f4bdb75a295caf29e02d4f403349b Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 23 Sep 2017 11:07:32 +0200 Subject: style: rubocop mostly auto-correct --- lib/zbase32.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/zbase32.rb') diff --git a/lib/zbase32.rb b/lib/zbase32.rb index 754213d..3f61477 100644 --- a/lib/zbase32.rb +++ b/lib/zbase32.rb @@ -1,5 +1,4 @@ module ZBase32 - ALPHABET = 'ybndrfg8ejkmcpqxot1uwisza345h769'.split('').freeze def self.encode32(bin_string) @@ -13,7 +12,6 @@ module ZBase32 ALPHABET.index(char).to_s(2).rjust(5, '0') end.join bin[0, (8 * (bin.length / 8))] - # .sub /10*$/ ,'1' + # .sub /10*$/ ,'1' end - end -- cgit v1.2.3