# Ruby

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

[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:** 1594

---

## [CoolOptions 1.0.4 Released](https://www.ruby-forum.com/t/cooloptions-1-0-4-released/78889)

<div class="topic-metadata">

**Author:** [@ntalbott](https://www.ruby-forum.com/u/ntalbott)\
**Replies:** 1\
**Last updated:** [December 11, 2006, 5:36am UTC](https://www.ruby-forum.com/t/cooloptions-1-0-4-released/78889 "2006-12-11T05:36:45Z")

</div>

CoolOptions version 1.0.4 has been released! http://cooloptions.rubyforge.org/ As a huge fan of optparse due to its flexibility, self-documenting nature, and ease of use, I nevertheless found myself doing almost the …

---

## [Marshall and Modules](https://www.ruby-forum.com/t/marshall-and-modules/78968)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 1\
**Last updated:** [December 11, 2006, 5:26am UTC](https://www.ruby-forum.com/t/marshall-and-modules/78968 "2006-12-11T05:26:43Z")

</div>

I get loads of problems when using Marshall (ie, in CGI::Session) for objects that are in Modules (ie, not defined in the top level namespace). Any rules of thumb here?

---

## [Digest/sha2.rb is installed in a wrong place](https://www.ruby-forum.com/t/digest-sha2-rb-is-installed-in-a-wrong-place/78904)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 2\
**Last updated:** [December 11, 2006, 5:06am UTC](https://www.ruby-forum.com/t/digest-sha2-rb-is-installed-in-a-wrong-place/78904 "2006-12-11T05:06:41Z")

</div>

e$B$3$s$P$s$O!"e(Bsheepman e$B$G$9!#e(B e$BKM$N\<j85$N4D6-$@$1$+$bCN$l$^$;$s$,!"e(Bdigest/sha2.rb e$B$,e(B digest/digest/sha2.rb e$B$K%$%s%9%H!\<%k$5$l$F$$$^$9!#e(B $ ls /usr/local/lib/ruby/1.9/digest/digest/ sha2.rb $…

---

## [Re: Tournament Matchups (#105)](https://www.ruby-forum.com/t/re-tournament-matchups-105/225935)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 1\
**Last updated:** [December 11, 2006, 2:52am UTC](https://www.ruby-forum.com/t/re-tournament-matchups-105/225935 "2006-12-11T02:52:35Z")

</div>

(Where it says attached, it will be attached in another email, the email was too big) Following is the version that makes a nice, configurable ASCII chart. The chart is basically an object that stores a nested hash of…

---

## [Complete Newbie - Matrix Question](https://www.ruby-forum.com/t/complete-newbie-matrix-question/78960)

<div class="topic-metadata">

**Author:** [@jay](https://www.ruby-forum.com/u/jay)\
**Replies:** 3\
**Last updated:** [December 11, 2006, 1:24am UTC](https://www.ruby-forum.com/t/complete-newbie-matrix-question/78960 "2006-12-11T01:24:28Z")

</div>

Hi Folks, This is probably quite easy, but I can’t find a Matrix function or way to populate a specific element of a matrix with a given value? ie, I want to tell that element i,j of matrix.a should be 3 My code belo…

---

## [Glib2 errors](https://www.ruby-forum.com/t/glib2-errors/78962)

<div class="topic-metadata">

**Author:** [@WoodHacker](https://www.ruby-forum.com/u/WoodHacker)\
**Replies:** 2\
**Last updated:** [December 11, 2006, 1:06am UTC](https://www.ruby-forum.com/t/glib2-errors/78962 "2006-12-11T01:06:28Z")

</div>

Can anyone explain why I’m suddenly getting the following errors? The large program that reports them (an editor) was working fine before I updated my gentoo system. Get these at startup. Everything seems to be wo…

---

## [Replacing maven with rake + rjb + ant](https://www.ruby-forum.com/t/replacing-maven-with-rake-rjb-ant/78821)

<div class="topic-metadata">

**Author:** [@thebox](https://www.ruby-forum.com/u/thebox)\
**Replies:** 10\
**Last updated:** [December 11, 2006, 12:40am UTC](https://www.ruby-forum.com/t/replacing-maven-with-rake-rjb-ant/78821 "2006-12-11T00:40:23Z")

</div>

Hi! We do 99.999% of our development in java. Our system is a complex J2EE distributed application currently (poorly) managed with maven. Now, I don’t want to get into the reasons for doing this, but we have struggle…

---

## [OT: Some german Rubies near Stuttgart on the list?](https://www.ruby-forum.com/t/ot-some-german-rubies-near-stuttgart-on-the-list/78930)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 1\
**Last updated:** [December 11, 2006, 12:32am UTC](https://www.ruby-forum.com/t/ot-some-german-rubies-near-stuttgart-on-the-list/78930 "2006-12-11T00:32:22Z")

</div>

Hello list, are there some Rubies from Germany near Stuttgart on this list? I’am looking for some contacts!

---

## [Colored error messages](https://www.ruby-forum.com/t/colored-error-messages/78704)

<div class="topic-metadata">

**Author:** [@yussibaer](https://www.ruby-forum.com/u/yussibaer)\
**Replies:** 7\
**Last updated:** [December 11, 2006, 12:18am UTC](https://www.ruby-forum.com/t/colored-error-messages/78704 "2006-12-11T00:18:11Z")

</div>

Hi, Does anyone know whether it is possible to write code which shows me colored error messages after the validation detects an error? Regards, Y

---

## [Sup 0.0.2 Released](https://www.ruby-forum.com/t/sup-0-0-2-released/78934)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 1\
**Last updated:** [December 10, 2006, 10:42pm UTC](https://www.ruby-forum.com/t/sup-0-0-2-released/78934 "2006-12-10T22:42:08Z")

</div>

sup version 0.0.2 has been released! Now, with IMAP support (thanks \_why!) and many bugfixes. http://sup.rubyforge.org Sup is an attempt to take the UI innovations of web-based email readers (ok, really just GMail) a…

---

## [Re: Tournament Matchups (#105)](https://www.ruby-forum.com/t/re-tournament-matchups-105/78943)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 0\
**Last updated:** [December 10, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/re-tournament-matchups-105/78943 "2006-12-10T22:10:02Z")

</div>

Following (and attached) is the copy of my code. The main logic of it is very simple: Create “bye” teams until there is a power of two From an array sorted by “goodness” of a team, make matches by taking a team from…

---

## [Re: \[Quiz\] Tournament Matchups (#105)](https://www.ruby-forum.com/t/re-quiz-tournament-matchups-105/78941)

<div class="topic-metadata">

**Author:** [@Matthias\_Kegelmann](https://www.ruby-forum.com/u/Matthias_Kegelmann)\
**Replies:** 0\
**Last updated:** [December 10, 2006, 10:06pm UTC](https://www.ruby-forum.com/t/re-quiz-tournament-matchups-105/78941 "2006-12-10T22:06:01Z")

</div>

Hi, here is my solution for the quiz:

---

## [AJAX and RoR examples?](https://www.ruby-forum.com/t/ajax-and-ror-examples/78928)

<div class="topic-metadata">

**Author:** [@warhero](https://www.ruby-forum.com/u/warhero)\
**Replies:** 2\
**Last updated:** [December 10, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/ajax-and-ror-examples/78928 "2006-12-10T21:05:54Z")

</div>

does anyone know where there are some AJAX and RoR examples? I’m looking in particular for edit-in-place functionality. But any AJAX and RoR examples are good.

---

## [Defining key equivalence in a hash](https://www.ruby-forum.com/t/defining-key-equivalence-in-a-hash/78931)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 3\
**Last updated:** [December 10, 2006, 8:53pm UTC](https://www.ruby-forum.com/t/defining-key-equivalence-in-a-hash/78931 "2006-12-10T20:53:51Z")

</div>

Hello, I’m trying to make two keys equivalent by having their #hash method produce the same result. But this does not seem to work: irb(main):001:0\> class K; def hash; 90; end; end =\> nil irb(main):002:0\> h = {} =\> …

---

## [Question about Ruby philosophy](https://www.ruby-forum.com/t/question-about-ruby-philosophy/78242)

<div class="topic-metadata">

**Author:** [@Zouplaz](https://www.ruby-forum.com/u/Zouplaz)\
**Replies:** 48\
**Last updated:** [December 10, 2006, 8:11pm UTC](https://www.ruby-forum.com/t/question-about-ruby-philosophy/78242 "2006-12-10T20:11:41Z")

</div>

Hello, when I compare Ruby to Java there is something I don’t understand . For example, let say that I create instances of JDBCFooBaseDriver in Java - The methods and their behaviors will never change, unless I updat…

---

## [Show your support for Rubinius!](https://www.ruby-forum.com/t/show-your-support-for-rubinius/78648)

<div class="topic-metadata">

**Author:** [@sams](https://www.ruby-forum.com/u/sams)\
**Replies:** 16\
**Last updated:** [December 10, 2006, 7:51pm UTC](https://www.ruby-forum.com/t/show-your-support-for-rubinius/78648 "2006-12-10T19:51:40Z")

</div>

(I hope you don’t mind a bit of cross-posting, but seeing as how the news hasn’t seemed to made it here yet…) Just thought you guys might like the opportunity to show your support. Even if you haven’t heard of Rubiniu…

---

## [Rubyscript2exe problem (yes another)](https://www.ruby-forum.com/t/rubyscript2exe-problem-yes-another/78902)

<div class="topic-metadata">

**Author:** [@anselmthecrack](https://www.ruby-forum.com/u/anselmthecrack)\
**Replies:** 5\
**Last updated:** [December 10, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/rubyscript2exe-problem-yes-another/78902 "2006-12-10T17:59:13Z")

</div>

hello! I know this forum is full of problems with rubyscript2exe, but i couldn’t find mine here. this is what happens: hello.rb: puts “hello” end of hello.rb rubyscript2exe hello.rb Tracing hello … hello Gath…

---

## [Phoenix Ruby USers Group December Meeting](https://www.ruby-forum.com/t/phoenix-ruby-users-group-december-meeting/78920)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [December 10, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/phoenix-ruby-users-group-december-meeting/78920 "2006-12-10T16:13:18Z")

</div>

What: Phoenix Ruby U. Group When: Monday, December 11, at the 6:15pm Where: Axway (formerly Cyclone Commerce) offices in Scottsdale See http://www.rubyaz.org/groups/prug/ for a map Topics: Nothing planned. We’ve m…

---

## [Classes in WIN32OLE](https://www.ruby-forum.com/t/classes-in-win32ole/78304)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [December 10, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/classes-in-win32ole/78304 "2006-12-10T15:54:01Z")

</div>

Hi all, There are so many pre-assumptions when using WIN32OLE library. Can anyone out there briefly explain the relation among the classes and modules in it? Thanks, Li

---

## [Qtruby problems](https://www.ruby-forum.com/t/qtruby-problems/78903)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [December 10, 2006, 3:51pm UTC](https://www.ruby-forum.com/t/qtruby-problems/78903 "2006-12-10T15:51:16Z")

</div>

I have both qtruby and qt4-qtruby installed (via the gentoo ebuilds), and am trying to run the examples from qt4-qtruby-1.4.7. However, most of them are failing with “Unresolved constructor call”. Here’s a minimal fai…

---

## [Newbie question: no such file to load -- dbm](https://www.ruby-forum.com/t/newbie-question-no-such-file-to-load-dbm/78917)

<div class="topic-metadata">

**Author:** [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Replies:** 0\
**Last updated:** [December 10, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/newbie-question-no-such-file-to-load-dbm/78917 "2006-12-10T15:41:26Z")

</div>

hi, I’m a total ruby newbie, so your help would be much appreciated. I’m using Mac OS X 10.4.8 and just compiled and installed ruby with readline. I followed the instructions on to configure and install readline-5.2…

---

## [Need help on a program](https://www.ruby-forum.com/t/need-help-on-a-program/78853)

<div class="topic-metadata">

**Author:** [@christopherl](https://www.ruby-forum.com/u/christopherl)\
**Replies:** 5\
**Last updated:** [December 10, 2006, 3:17pm UTC](https://www.ruby-forum.com/t/need-help-on-a-program/78853 "2006-12-10T15:17:13Z")

</div>

Stuck on this exercise from a book: Old-school Roman numerals. In the early days of Roman numerals, the Romans didnâ€™t bother with any of this new-fangled subtraction â€œIXâ€ nonsense. No sir, it was straight additi…

---

## [Attr\_reader, etc for class variables](https://www.ruby-forum.com/t/attr-reader-etc-for-class-variables/78897)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 3\
**Last updated:** [December 10, 2006, 2:07pm UTC](https://www.ruby-forum.com/t/attr-reader-etc-for-class-variables/78897 "2006-12-10T14:07:04Z")

</div>

Is there such a thing? If I have the following code: class Klass @@var = 0 end How can I make an attr\_writer for it besides doing class Klass def var=(other) @@var = other end end I’ve tried all of these to no…

---

## [TeX and ruby](https://www.ruby-forum.com/t/tex-and-ruby/78868)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 13\
**Last updated:** [December 10, 2006, 1:27pm UTC](https://www.ruby-forum.com/t/tex-and-ruby/78868 "2006-12-10T13:27:01Z")

</div>

Hi, how diffcult could it possibly be to fully integrate TeX (and, for that matter, pdftex) as a subset of ruby? Essentially, TeX is just some trivial arithmetic. Maybe pdftex is a bit more complex. Regards, Piero

---

## [RingyDingy 1.2.1 Released](https://www.ruby-forum.com/t/ringydingy-1-2-1-released/78899)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [December 10, 2006, 9:02am UTC](https://www.ruby-forum.com/t/ringydingy-1-2-1-released/78899 "2006-12-10T09:02:50Z")

</div>

RingyDingy version 1.2.1 has been released! http://seattlerb.rubyforge.org/RingyDingy RingyDingy automatically re-registers your DRb service with a RingServer should communication with the RingServer stop. Changes: =…

---

## [Fwd: Seymour Papert Gravely Injured in Motorbike Accident](https://www.ruby-forum.com/t/fwd-seymour-papert-gravely-injured-in-motorbike-accident/78784)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 15\
**Last updated:** [December 10, 2006, 4:44am UTC](https://www.ruby-forum.com/t/fwd-seymour-papert-gravely-injured-in-motorbike-accident/78784 "2006-12-10T04:44:38Z")

</div>

I know it’s off-topic, but this guy is awesome, and this news is terrible. Pray for him, send him good vibes, whatever your belief system accomodates. A great innovator, we want him to pull through. ---------- Forwar…

---

## [Text wrap](https://www.ruby-forum.com/t/text-wrap/78888)

<div class="topic-metadata">

**Author:** [@ishamid](https://www.ruby-forum.com/u/ishamid)\
**Replies:** 2\
**Last updated:** [December 10, 2006, 2:46am UTC](https://www.ruby-forum.com/t/text-wrap/78888 "2006-12-10T02:46:32Z")

</div>

Hi, I have a ruby script that’s doing what I need, and I would like to add one feature. The script outputs a text file, and I would like Ruby to take the final text file and wrap it at 67 characters, instead of doing …

---

## [Question about plotting use Fxruby canvas](https://www.ruby-forum.com/t/question-about-plotting-use-fxruby-canvas/78779)

<div class="topic-metadata">

**Author:** [@Hank\_G](https://www.ruby-forum.com/u/Hank_G)\
**Replies:** 1\
**Last updated:** [December 10, 2006, 1:04am UTC](https://www.ruby-forum.com/t/question-about-plotting-use-fxruby-canvas/78779 "2006-12-10T01:04:24Z")

</div>

Dear all I want to use the canvas in Fxruby to draw something like a circle. Then I want to use mouse to control it like left click it and then I can move it to somewhere. Also I want to achieve the function like if I …

---

## [Help me with some nested Hashes](https://www.ruby-forum.com/t/help-me-with-some-nested-hashes/78885)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 4\
**Last updated:** [December 10, 2006, 12:52am UTC](https://www.ruby-forum.com/t/help-me-with-some-nested-hashes/78885 "2006-12-10T00:52:23Z")

</div>

What I want to do is have 2 nested hashes, the outer hash returning a new hash on an unknown key and the inner hash returning a space on an unknown key. For example: values = Hash.new # as described above values\[4\]\[…

---

## [\#method(false) returns singleton methods?](https://www.ruby-forum.com/t/method-false-returns-singleton-methods/77720)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 7\
**Last updated:** [December 9, 2006, 11:44pm UTC](https://www.ruby-forum.com/t/method-false-returns-singleton-methods/77720 "2006-12-09T23:44:17Z")

</div>

I had a hard enough time recalling that #instance\_methods only returns public methods rather then all methods, and after all this time I’m only now discovering that #methods(false) only returns singleton methods? Wh…

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

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