HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/actionview-6.1.4.1/ri/ActionView/Helpers/UrlHelper/phone_to-i.ri
U:RDoc::AnyMethod[iI"
phone_to:ETI",ActionView::Helpers::UrlHelper#phone_to;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"MCreates a TEL anchor link tag to the specified +phone_number+, which is ;TI"Nalso used as the name of the link unless +name+ is specified. Additional ;TI"BHTML attributes for the link can be passed in +html_options+.;To:RDoc::Markup::BlankLineo;
;	[I"CWhen clicked, the default app to make calls is opened, and it ;TI"?is prepopulated with the passed phone number and optional ;TI"+country_code+ value.;T@o;
;	[	I"[+phone_to+ has an optional +country_code+ option which automatically adds the country ;TI"Kcode as well as the + sign in the phone numer that gets prepopulated, ;TI"Jfor example if +country_code: "01"+  +\+01+ will be prepended to the ;TI"<phone numer, by passing special keys to +html_options+.;T@S:RDoc::Markup::Heading:
leveli	:	textI"Options;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"E<tt>:country_code</tt> - Prepends the country code to the number;T@S;;
i	;I"
Examples;To:RDoc::Markup::Verbatim;	[
I"phone_to "1234567890"
;TI"2# => <a href="tel:1234567890">1234567890</a>
;TI"
;TI"'phone_to "1234567890", "Phone me"
;TI"/# => <a href="tel:134567890">Phone me</a>
;TI"
;TI";phone_to "1234567890", "Phone me", country_code: "01"
;TI"3# => <a href="tel:+015155555785">Phone me</a>
;T:@format0o;
;	[I"jYou can use a block as well if your link target is hard to fit into the name parameter. \ERB example:;T@o;;	[I"%<%= phone_to "1234567890" do %>
;TI""  <strong>Phone me:</strong>
;TI"<% end %>
;TI"$# => <a href="tel:1234567890">
;TI"'       <strong>Phone me:</strong>
;TI"     </a>;T;0:
@fileI"*lib/action_view/helpers/url_helper.rb;T:0@omit_headings_from_table_of_contents_below000[I":(phone_number, name = nil, html_options = {}, &block);T@<FI"UrlHelper;TcRDoc::NormalModule00