# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=1849

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 1850

---

## [Iterate chars in a string](https://www.ruby-forum.com/t/iterate-chars-in-a-string/50712)

<div class="topic-metadata">

**Author:** [@shinya](https://www.ruby-forum.com/u/shinya)\
**Replies:** 24\
**Last updated:** [March 21, 2006, 1:48pm UTC](https://www.ruby-forum.com/t/iterate-chars-in-a-string/50712 "2006-03-21T13:48:55Z")

</div>

Hi there! I’m a ruby newbie, and I’m searching for a way to iterate every char in a string, but I cannot find any easy way. My problem is to look at every char in a string and match it with some known letter. I use t…

---

## [Method overload, care to improve?](https://www.ruby-forum.com/t/method-overload-care-to-improve/84408)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 8\
**Last updated:** [March 21, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/method-overload-care-to-improve/84408 "2006-03-21T12:38:56Z")

</div>

Have a need to create method overloading, so I put together an implementation. Curious what other think of it; how to improve it; or do it a better way. Thanks, T. ---- overload.rb class Module def method\_overloads …

---

## [How to read process memory?](https://www.ruby-forum.com/t/how-to-read-process-memory/55419)

<div class="topic-metadata">

**Author:** [@SSSSSS\_SSS](https://www.ruby-forum.com/u/SSSSSS_SSS)\
**Replies:** 2\
**Last updated:** [March 21, 2006, 12:23pm UTC](https://www.ruby-forum.com/t/how-to-read-process-memory/55419 "2006-03-21T12:23:52Z")

</div>

How to read process memory?

---

## [Best of Ruby Quiz now available](https://www.ruby-forum.com/t/best-of-ruby-quiz-now-available/54910)

<div class="topic-metadata">

**Author:** [@dirtytree](https://www.ruby-forum.com/u/dirtytree)\
**Replies:** 4\
**Last updated:** [March 21, 2006, 12:14pm UTC](https://www.ruby-forum.com/t/best-of-ruby-quiz-now-available/54910 "2006-03-21T12:14:41Z")

</div>

Ruby folk: Quizmeister James Edward G. II selected the best 25 Ruby Q.zes from last year, then carefully collected answers and annotated them. The result is “The Best of Ruby Q.”, a wonderful book which will teach an…

---

## [IDE suggestions](https://www.ruby-forum.com/t/ide-suggestions/54395)

<div class="topic-metadata">

**Author:** [@Barrie\_Jarman](https://www.ruby-forum.com/u/Barrie_Jarman)\
**Replies:** 18\
**Last updated:** [March 21, 2006, 8:13am UTC](https://www.ruby-forum.com/t/ide-suggestions/54395 "2006-03-21T08:13:56Z")

</div>

Im new (this week) to ruby and would like to know what IDE’s people are using. Ive tried Radrails which seems very buggy and poorly designed. I use Zend Studio for my php developement and would like something similar …

---

## [Rake rules with multiple prerequisites](https://www.ruby-forum.com/t/rake-rules-with-multiple-prerequisites/55334)

<div class="topic-metadata">

**Author:** [@Joel\_VanderWerf](https://www.ruby-forum.com/u/Joel_VanderWerf)\
**Replies:** 8\
**Last updated:** [March 21, 2006, 7:04am UTC](https://www.ruby-forum.com/t/rake-rules-with-multiple-prerequisites/55334 "2006-03-21T07:04:22Z")

</div>

Is it possible to have a rule which has a prerequisite specified by a proc and also a FileList? I can use several procs, as a workaround: generic\_files = \[proc {“foo”}, proc {“bar”}, proc {“baz”}\] rule /^site\_\\w+/ =\> …

---

## [Swig, c++, use string](https://www.ruby-forum.com/t/swig-c-use-string/84155)

<div class="topic-metadata">

**Author:** [@killy-kun](https://www.ruby-forum.com/u/killy-kun)\
**Replies:** 6\
**Last updated:** [March 21, 2006, 5:30am UTC](https://www.ruby-forum.com/t/swig-c-use-string/84155 "2006-03-21T05:30:58Z")

</div>

I would like to use the c++ string type as a parameter of function return of some c++ functions used in a ruby module, made with swig. Here is a simple example I tried to use the string type : #----------------- %mod…

---

## [Many check\_boxes](https://www.ruby-forum.com/t/many-check-boxes/84337)

<div class="topic-metadata">

**Author:** [@misiek](https://www.ruby-forum.com/u/misiek)\
**Replies:** 1\
**Last updated:** [March 21, 2006, 5:03am UTC](https://www.ruby-forum.com/t/many-check-boxes/84337 "2006-03-21T05:03:56Z")

</div>

I need use check\_box to search function. sample… I got like 10 items and each item has over 10 subitems ( or whatever ) Need to check some items use check\_boxes and display all subitems belongs to checked items. \<%=…

---

## [Boulder-Denver Ruby Group - March 22nd Meeting](https://www.ruby-forum.com/t/boulder-denver-ruby-group-march-22nd-meeting/55450)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 21, 2006, 4:49am UTC](https://www.ruby-forum.com/t/boulder-denver-ruby-group-march-22nd-meeting/55450 "2006-03-21T04:49:04Z")

</div>

Hey Everyone, The Boulder-Denver Ruby group will hold its next meeting on March 22nd, starting at 6pm at the Mobius building (directions below). We’ll start off the meeting with Ruby 101. Chad F. will be leading the s…

---

## [Have you ever considered of mousing ambidextrously?](https://www.ruby-forum.com/t/have-you-ever-considered-of-mousing-ambidextrously/55379)

<div class="topic-metadata">

**Author:** [@WangQiang](https://www.ruby-forum.com/u/WangQiang)\
**Replies:** 2\
**Last updated:** [March 21, 2006, 4:03am UTC](https://www.ruby-forum.com/t/have-you-ever-considered-of-mousing-ambidextrously/55379 "2006-03-21T04:03:53Z")

</div>

I’m also a programmer, as working in front of computer day and day, my right hand is so tired and get some pain. So I tried to mouse in both hands. I find that it is really an efficient way to release pains. At first …

---

## [Suppressing printing of evaluated expressions in irb](https://www.ruby-forum.com/t/suppressing-printing-of-evaluated-expressions-in-irb/55424)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 6\
**Last updated:** [March 21, 2006, 2:51am UTC](https://www.ruby-forum.com/t/suppressing-printing-of-evaluated-expressions-in-irb/55424 "2006-03-21T02:51:04Z")

</div>

I’ve looked all over, but I can’t figure out how to suppress the printing of evaluated expressions in irb. Ordinarily, this is no problem: irb(main):001:0\> a = \[\] =\> \[\] But what if the thing returned is huge? irb(…

---

## [OT: Japanese translation favor?](https://www.ruby-forum.com/t/ot-japanese-translation-favor/84298)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 3\
**Last updated:** [March 21, 2006, 2:28am UTC](https://www.ruby-forum.com/t/ot-japanese-translation-favor/84298 "2006-03-21T02:28:59Z")

</div>

I apologize for the off topic post, but I am trying to use a Remote Desktop Protocol client on my company’s Sharp Zaurus PDA’s. And there is an error message I am receiving that is described on a Japanese web site. Si…

---

## [Multiple SCP from remote machine](https://www.ruby-forum.com/t/multiple-scp-from-remote-machine/55436)

<div class="topic-metadata">

**Author:** [@beth](https://www.ruby-forum.com/u/beth)\
**Replies:** 1\
**Last updated:** [March 21, 2006, 2:13am UTC](https://www.ruby-forum.com/t/multiple-scp-from-remote-machine/55436 "2006-03-21T02:13:59Z")

</div>

I’m a nuby who needs help solving a problem trying to copy from multiple remote servers I need to ssh into a remote machine (Machine X). Once in Machine X I need to SCP a file from machine Y. I’m not sure how to do …

---

## [Lazytest 0.1.0](https://www.ruby-forum.com/t/lazytest-0-1-0/84409)

<div class="topic-metadata">

**Author:** [@benny](https://www.ruby-forum.com/u/benny)\
**Replies:** 1\
**Last updated:** [March 21, 2006, 12:55am UTC](https://www.ruby-forum.com/t/lazytest-0-1-0/84409 "2006-03-21T00:55:07Z")

</div>

Benny is happy to announce his second published piece of software: “lazytest” available as gem. You may wonder what happened to my first gem, “FaceToFace”. There will be an update in the near future… Dear list, I ho…

---

## [Hey man, can you spare an open souce host?](https://www.ruby-forum.com/t/hey-man-can-you-spare-an-open-souce-host/84203)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 3\
**Last updated:** [March 21, 2006, 12:20am UTC](https://www.ruby-forum.com/t/hey-man-can-you-spare-an-open-souce-host/84203 "2006-03-21T00:20:34Z")

</div>

Any recommendations of open source hosts for a NON-RUBY project? (My prototype is written in Ruby, but the project will ultimately be C and Assembly). Thanks, T.

---

## [Text to images using RMagick](https://www.ruby-forum.com/t/text-to-images-using-rmagick/54860)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 7\
**Last updated:** [March 20, 2006, 11:54pm UTC](https://www.ruby-forum.com/t/text-to-images-using-rmagick/54860 "2006-03-20T23:54:03Z")

</div>

Hi, I used this thread (http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/c1e73e86ca02c6af/7868ea24e7069eea?#7868ea24e7069eea) to get text wrapping working, and it’s working great. The problem I can’t…

---

## [Passing block to another function](https://www.ruby-forum.com/t/passing-block-to-another-function/55399)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 5\
**Last updated:** [March 20, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/passing-block-to-another-function/55399 "2006-03-20T22:47:52Z")

</div>

I have a function: def worker( &p\_block ) … p\_block.call( my\_data ) … end I have a wrapper function, that I would like to use to call ‘worker’. But I would like the caller of ‘wrapper’ to be able to specify the bl…

---

## [C/c++ enum equivalent?](https://www.ruby-forum.com/t/c-c-enum-equivalent/83238)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [March 20, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/c-c-enum-equivalent/83238 "2006-03-20T22:45:51Z")

</div>

I’d like to fill a module with valueless constants (because I don’t care about the actual values, just that they are uneque, and named) - is that a good thing to do, and can I do that? :slight\_smile: I tried: module …

---

## [Re: I need some help with OptionsParser](https://www.ruby-forum.com/t/re-i-need-some-help-with-optionsparser/55404)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 2\
**Last updated:** [March 20, 2006, 9:29pm UTC](https://www.ruby-forum.com/t/re-i-need-some-help-with-optionsparser/55404 "2006-03-20T21:29:00Z")

</div>

c:\\temp\> This thread is a testament to why I wrote the getopt package: test.rb require ‘getopt/long’ include Getopt opts = Long.getopts(\[’–size’, ‘-s’, REQUIRED\]) p opts\[‘size’\] C:\\ruby test.rb -s ‘Very Big’ “Ve…

---

## [Traversing superviews' class instance variables](https://www.ruby-forum.com/t/traversing-superviews-class-instance-variables/55355)

<div class="topic-metadata">

**Author:** [@exile](https://www.ruby-forum.com/u/exile)\
**Replies:** 2\
**Last updated:** [March 20, 2006, 9:18pm UTC](https://www.ruby-forum.com/t/traversing-superviews-class-instance-variables/55355 "2006-03-20T21:18:57Z")

</div>

I have certain variables that are ‘properties’ and I keep track of them in a class instance variable called @fields, and each subclass may have it’s own fields. I want to navigate through the hierarchy and go throug…

---

## [New article at Ruby Code & Style](https://www.ruby-forum.com/t/new-article-at-ruby-code-style/55377)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 1\
**Last updated:** [March 20, 2006, 8:33pm UTC](https://www.ruby-forum.com/t/new-article-at-ruby-code-style/55377 "2006-03-20T20:33:41Z")

</div>

I’m pleased to announce the publication of a new article at Ruby Code & Style. Jim F. has written an outstanding piece on creating DSLs (domain-specific languages) with Ruby. Check it out! http://www.artima.com/ruby…

---

## [I need some help with OptionsParser](https://www.ruby-forum.com/t/i-need-some-help-with-optionsparser/84246)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [March 20, 2006, 8:31pm UTC](https://www.ruby-forum.com/t/i-need-some-help-with-optionsparser/84246 "2006-03-20T20:31:41Z")

</div>

Hey all, I must be doing something wrong here. Im calling the following file this way: ruby script.rb -s 1234 or ruby script.rb -s1111 #Code snip require ‘optparse’ opts = OptionParser.new opts.on("-s", “–size …

---

## ["ruby-talk" client/offline reader?](https://www.ruby-forum.com/t/ruby-talk-client-offline-reader/55243)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 2\
**Last updated:** [March 20, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/ruby-talk-client-offline-reader/55243 "2006-03-20T20:20:25Z")

</div>

Hello. I have some expectancies to create client software (“offline reader”) for ruby-talk. It can be potentially much more usable than “standard” email client. So, the question is: is there some public-available AP…

---

## [Review requested: Binding.call\_stack(), Binding.of\_caller()-](https://www.ruby-forum.com/t/review-requested-binding-call-stack-binding-of-caller/76624)

<div class="topic-metadata">

**Author:** [@Dumaiu](https://www.ruby-forum.com/u/Dumaiu)\
**Replies:** 4\
**Last updated:** [March 20, 2006, 7:36pm UTC](https://www.ruby-forum.com/t/review-requested-binding-call-stack-binding-of-caller/76624 "2006-03-20T19:36:30Z")

</div>

Hi, all– I’d like to submit for evaluation an elaboration I’ve made on the famous ‘Binding.of\_caller()’ of Florian Groß. I have tried to follow the the description of the interface for Binding.call\_stack() suggested …

---

## [Washington University teaches Ruby (in St. Louis)](https://www.ruby-forum.com/t/washington-university-teaches-ruby-in-st-louis/55394)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 0\
**Last updated:** [March 20, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/washington-university-teaches-ruby-in-st-louis/55394 "2006-03-20T19:32:55Z")

</div>

If you are in the greater St. Louis metropolitan area and you want to know more about Ruby P.ming, there is still room left in the evening Ruby P.ming class being given by Washington University’s CAIT center on April …

---

## [Warning: using default DH parameters](https://www.ruby-forum.com/t/warning-using-default-dh-parameters/55386)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 0\
**Last updated:** [March 20, 2006, 6:04pm UTC](https://www.ruby-forum.com/t/warning-using-default-dh-parameters/55386 "2006-03-20T18:04:00Z")

</div>

Hello all, I’m issuing HTTP requests via SSL, and the following warning is reported: c:/ruby/lib/ruby/1.8/net/http.rb:569: warning: using default DH parameters. This warning comes from the following line in net/http…

---

## [Ruby/DLX 0.8.1 released](https://www.ruby-forum.com/t/ruby-dlx-0-8-1-released/55384)

<div class="topic-metadata">

**Author:** [@Marcel\_Toele](https://www.ruby-forum.com/u/Marcel_Toele)\
**Replies:** 0\
**Last updated:** [March 20, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/ruby-dlx-0-8-1-released/55384 "2006-03-20T17:30:57Z")

</div>

It is my pleasure to announce that: Ruby/DLX 0.8.1 is now available for download from: http://ruby-dlx.rubyforge.org/ (Direct link: http://rubyforge.org/frs/download.php/9283/ruby-dlx-0.8.1-20060320-14h58m35s-utc.zip …

---

## [Upload large files in ruby on rails](https://www.ruby-forum.com/t/upload-large-files-in-ruby-on-rails/84205)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [March 20, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/upload-large-files-in-ruby-on-rails/84205 "2006-03-20T17:13:55Z")

</div>

I seem to be able to upload files up to 1MB with the generic setup on rails with a mysql database. I’m trying to be able to set it up to where I can upload larger files, such as a 5 or 10 MB file. Any help on how to…

---

## [Gemcutter's Workshop open!](https://www.ruby-forum.com/t/gemcutters-workshop-open/55363)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 3\
**Last updated:** [March 20, 2006, 4:49pm UTC](https://www.ruby-forum.com/t/gemcutters-workshop-open/55363 "2006-03-20T16:49:37Z")

</div>

Hello, Have I missed the news in the list, but it seems that the info was not widespread : there’s a new column in Linux Journal dedicated to the Ruby community news, have a look there : Gemcutter’s Workshop http://…

---

## [The Borg Are At It Again!](https://www.ruby-forum.com/t/the-borg-are-at-it-again/55154)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 9\
**Last updated:** [March 20, 2006, 4:24pm UTC](https://www.ruby-forum.com/t/the-borg-are-at-it-again/55154 "2006-03-20T16:24:01Z")

</div>

Howdy Good Ruby Folk, Is this a good thing?.. Queensland Univerity of Technology is reimplementing Ruby for Microsoft’s Common Language Runtime and for use with .NET. See http://www.plas.fit.qut.edu.au/rubynet/. An…

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=1848)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=1850)
