Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3399
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | Brian Candler <b.candler@pobox.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: Split dot and equa sign by recursive |
| Date | Sat, 23 Apr 2011 07:14:25 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 14 |
| Message-ID | <c868d3e590cc9519d5b53016939a749c@ruby-forum.com> (permalink) |
| References | <834998812ddf8cd759b85d568ed321db@ruby-forum.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1303562631 50943 65.111.164.187 (23 Apr 2011 12:43:51 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Sat, 23 Apr 2011 12:43:51 +0000 (UTC) |
| In-Reply-To | <834998812ddf8cd759b85d568ed321db@ruby-forum.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 382085 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <c868d3e590cc9519d5b53016939a749c@ruby-forum.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:3399 |
Show key headers only | View raw
Siratinee Sukachai wrote in post #994481:
> I need to do a function which can split dot and equa by recursive.
> But I don't have any ideas to do on recursive.
Is this a homework question? Otherwise, why do you say you want to use a
recursive algorithm, but then say you don't know anything about
recursion?
A structure like :a => {:b => {:c => :d} } is nested. You do not need to
use recursion to build it.
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Split dot and equa sign by recursive Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-22 05:52 -0500
Re: Split dot and equa sign by recursive Harry Kakueki <list.push@gmail.com> - 2011-04-23 07:04 -0500
Re: Split dot and equa sign by recursive Sira PS <ploy.sukachai@gmail.com> - 2011-04-23 12:36 -0500
Re: Split dot and equa sign by recursive Harry Kakueki <list.push@gmail.com> - 2011-04-23 22:19 -0500
Re: Split dot and equa sign by recursive Brian Candler <b.candler@pobox.com> - 2011-04-23 07:14 -0500
Re: Split dot and equa sign by recursive Ryan Davis <ryand-ruby@zenspider.com> - 2011-04-23 10:37 -0500
Re: Split dot and equa sign by recursive Sira PS <ploy.sukachai@gmail.com> - 2011-04-23 23:28 -0500
csiph-web