# File lib/action_view/helpers/text_helper.rb, line 138 def auto_link(text, link = :all, href_options = {}) case link when :all then auto_link_urls(auto_link_email_addresses(text), href_options) when :email_addresses then auto_link_email_addresses(text) when :urls then auto_link_urls(text, href_options) end end