Skip to content

Commit

Permalink
Replace keys.each with each_key
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Sep 27, 2014
1 parent ec2a531 commit 7f1fcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/t/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def accounts
@rcfile.path = options['profile'] if options['profile']
@rcfile.profiles.each do |profile|
say profile[0]
profile[1].keys.each do |key|
profile[1].each_key do |key|
say " #{key}#{@rcfile.active_profile[0] == profile[0] && @rcfile.active_profile[1] == key ? ' (active)' : nil}"
end
end
Expand Down

0 comments on commit 7f1fcac

Please sign in to comment.