Current Path : /usr/local/share/ri/1.8/system/URI/MailTo/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/URI/MailTo/to_mailtext-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: to_rfc822text block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the RFC822 e-mail text equivalent of the URL, as a String. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI.parse("mailto:ruby-list@ruby-lang.org?Subject=subscribe&cc=myaddr")\n uri.to_mailtext\n # => "To: ruby-list@ruby-lang.org\\nSubject: subscribe\\nCc: myaddr\\n\\n\\n"\n" full_name: URI::MailTo#to_mailtext is_singleton: false name: to_mailtext params: () visibility: public