# File lib/t/set.rb, line 18 def active(screen_name, consumer_key=nil) screen_name = screen_name.strip_ats @rcfile.path = options['profile'] if options['profile'] consumer_key = @rcfile[screen_name].keys.last if consumer_key.nil? @rcfile.active_profile = {'username' => screen_name, 'consumer_key' => consumer_key} say "Active account has been updated." end