File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def for_user_name(string)
4343
4444 def digest ( string )
4545 require 'digest'
46- Digest ::MD5 . digest ( string ) . chars . inject ( 0 ) { |a , e | ( a << 8 ) | e . ord }
46+ Digest ::MD5 . digest ( string ) . chars . inject ( 0 ) { |acc , elem | ( acc << 8 ) | elem . ord }
4747 end
4848 end
4949end
Original file line number Diff line number Diff line change 676676 codeforamerica fbjork mbostock FakeDorsey al3x BarackObama
677677 JEG2 eveningedition dhh jasonfried sferik dwiskus )
678678
679- icons = names . inject ( { } ) { |a , e | a . update ( e . to_sym => T ::Identicon . for_user_name ( e ) ) }
679+ icons = names . inject ( { } ) { |acc , elem | acc . update ( elem . to_sym => T ::Identicon . for_user_name ( elem ) ) }
680680
681681 expect ( $stdout. string ) . to eq <<-eos
682682 #{ icons [ :mutgoff ] . lines [ 0 ] } \e [1m\e [33m @mutgoff\e [0m
You can’t perform that action at this time.
0 commit comments