diff options
author | azul <azul@riseup.net> | 2017-09-23 15:11:20 +0000 |
---|---|---|
committer | azul <azul@riseup.net> | 2017-09-23 15:11:20 +0000 |
commit | fac140a8ff76e98c275194845125d4c97f4ba07b (patch) | |
tree | 08ffafb2c70935892e975704911080b9da84e391 /lib/zbase32.rb | |
parent | 787287318c54b019a12ef79525c9f5b10d93724d (diff) | |
parent | 8ac6bb8492c9a3b9ec5d7b5bf2b35907a1f8c332 (diff) |
Merge branch 'rubocop' into 'master'
Style fixes based on Rubocop
See merge request leap/nickserver!19
Diffstat (limited to 'lib/zbase32.rb')
-rw-r--r-- | lib/zbase32.rb | 4 |
1 files changed, 1 insertions, 3 deletions
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 |