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/ruby-3.0.2/doc/actionview-6.1.4.1/ri/ActionView/Helpers/UrlHelper/sms_to-i.ri
U:RDoc::AnyMethod[iI"sms_to:ETI"*ActionView::Helpers::UrlHelper#sms_to;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"NCreates an SMS 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"OWhen clicked, an SMS message is prepopulated with the passed phone number ;TI"and optional +body+ value.;T@o;
;	[I"L+sms_to+ has a +body+ option for customizing the SMS message itself by ;TI",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"5<tt>:body</tt> - Preset the body of the message.;T@S;;
i	;I"
Examples;To:RDoc::Markup::Verbatim;	[I"sms_to "5155555785"
;TI"3# => <a href="sms:5155555785;">5155555785</a>
;TI"
;TI"$sms_to "5155555785", "Text me"
;TI"0# => <a href="sms:5155555785;">Text me</a>
;TI"
;TI"%sms_to "5155555785", "Text me",
;TI"D       body: "Hello Jim I have a question about your product."
;TI"t# => <a href="sms:5155555785;?body=Hello%20Jim%20I%20have%20a%20question%20about%20your%20product">Text 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"#<%= sms_to "5155555785" do %>
;TI"!  <strong>Text me:</strong>
;TI"<% end %>
;TI"%# => <a href="sms:5155555785;">
;TI"&       <strong>Text 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