# Ruby

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

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

---

## [Watir to access combobox](https://www.ruby-forum.com/t/watir-to-access-combobox/115233)

<div class="topic-metadata">

**Author:** [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/watir-to-access-combobox/115233 "2007-09-25T23:17:02Z")

</div>

I’m new to watir and IE Developer Toolbar so please bear with me. I have a combobox in a website that i want to set. The ‘Select Element by Click’ feature in IE Developer Toolbar doesn’t work on this combobox. Does …

---

## [Help: Get list of modules which are included in the class](https://www.ruby-forum.com/t/help-get-list-of-modules-which-are-included-in-the-class/110318)

<div class="topic-metadata">

**Author:** [@chirag\_mistry\_ruby](https://www.ruby-forum.com/u/chirag_mistry_ruby)\
**Replies:** 26\
**Last updated:** [September 25, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/help-get-list-of-modules-which-are-included-in-the-class/110318 "2007-09-25T23:12:00Z")

</div>

Hi I want to get a list of modules which are included directly in the class in ruby. Example: Suppose below are two modules and a class defined in ruby script. module M1 â€¦ end module M2 â€¦ end class MyClass …

---

## [Ruby\_1\_8\_5 $B$X$N%3%\_%C%H(B](https://www.ruby-forum.com/t/ruby-1-8-5-b-x-n-3-c-h-b/82515)

<div class="topic-metadata">

**Author:** [@Masaki\_S](https://www.ruby-forum.com/u/Masaki_S)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/ruby-1-8-5-b-x-n-3-c-h-b/82515 "2007-09-25T23:11:15Z")

</div>

e$B=uED$G$9!#e(B 1.8.5 e$B$O!":#$I$&$$$&\>u67$G$7$g$&$+!)e(B e$B$G$-$l$P!“e(B\[ruby-core:9846\] e$B$N%P%0%U%#%C%/%9$r%3%\_%C%H$7$?$$$N$G$9!#e(B e$B;EMMJQ99$O0l@Z$”$j$^$;$se(B Win32OLEe$B$N%a%b%j!\<%j!\<%/$N%P%0%U%#%C%/%9$…

---

## [Mysql.so: Permission denied (Ruby under Cygwin)](https://www.ruby-forum.com/t/mysql-so-permission-denied-ruby-under-cygwin/107131)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/mysql-so-permission-denied-ruby-under-cygwin/107131 "2007-09-25T23:11:11Z")

</div>

\[this message is crossposted to the Cygwin- and RubyTalk mailing lists\]. Running Ruby 1.8.6 under Cygwin, i.e. $ /usr/bin/ruby --version ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-cygwin\] the statement require ‘mysq…

---

## [What does this warning actually mean?](https://www.ruby-forum.com/t/what-does-this-warning-actually-mean/111089)

<div class="topic-metadata">

**Author:** [@Michael\_TSRichter](https://www.ruby-forum.com/u/Michael_TSRichter)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/what-does-this-warning-actually-mean/111089 "2007-09-25T23:11:10Z")

</div>

So, I’m trying my hand at metaprogramming and am finding this the result of executing my code with -w enabled: warning: class variable access from toplevel singleton method (This is spammed ad infinitum anywhere I use…

---

## [retry$B$N;H$$J}(B](https://www.ruby-forum.com/t/retry-b-n-h-j-b/110321)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 51\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/retry-b-n-h-j-b/110321 "2007-09-25T23:11:10Z")

</div>

e$B\>\>Hx$H$$$$$^$9!#e(B e$B%f!\<%6Dj5A$Ne(B “untile$B%k!\<%We(B” def UNTIL(cond) return if cond yield retry end e$B$3$N$h$&$Je(Bretrye$B$N;H$$J}$,e(B1.86e$B$G$ODL$k$s$G$9$,!"e(B 1.9e$B$@$H%a%=%C%IDj5A$r$7$?CJ3,$Ge(B …

---

## [Re:](https://www.ruby-forum.com/t/re/115515)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/re/115515 "2007-09-25T23:11:10Z")

</div>

On Feb 2, 2007, at 11:15 AM, Tech G. wrote: So, in your quiz you say that each word can be used zero or more times. The easiest possible solution to this becomes, then: exit 0 because you just use all words zero ti…

---

## [Dcov 0.2.1 released](https://www.ruby-forum.com/t/dcov-0-2-1-released/114784)

<div class="topic-metadata">

**Author:** [@Jeremy\_McAnally](https://www.ruby-forum.com/u/Jeremy_McAnally)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/dcov-0-2-1-released/114784 "2007-09-25T23:11:08Z")

</div>

I just pushed a new release of dcov to Rubyforge. dcov is a tool to help you analyze the documentation of your Ruby code. This release builds on previous releases and checks coverage (i.e., is there documentation at…

---

## [Beyond YAML? (scaling)](https://www.ruby-forum.com/t/beyond-yaml-scaling/103263)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 26\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/beyond-yaml-scaling/103263 "2007-09-25T23:11:08Z")

</div>

Hi, I’ve been using YAML files to store hashes of numbers, e.g., { \[“O\_Kc\_01”\] =\> \[ 0.01232, 0.01212, 0.03222, … \], … } This has worked wonderfully for portability and visibility into the system as I’ve been creating…

---

## [Is there a replacement for sub?](https://www.ruby-forum.com/t/is-there-a-replacement-for-sub/109915)

<div class="topic-metadata">

**Author:** [@Michael\_WSRyder](https://www.ruby-forum.com/u/Michael_WSRyder)\
**Replies:** 44\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/is-there-a-replacement-for-sub/109915 "2007-09-25T23:11:08Z")

</div>

I was trying to come up with a way to remove x instances of a character from a string and came up with a problem. If I enter: a = “a b c d e f” for i in 1…3 a = a.sub!(’ ', ‘’) end puts a ==\> returns ‘abcd e f’ w…

---

## [Current rubygems require idiom](https://www.ruby-forum.com/t/current-rubygems-require-idiom/112508)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 14\
**Last updated:** [September 25, 2007, 11:11pm UTC](https://www.ruby-forum.com/t/current-rubygems-require-idiom/112508 "2007-09-25T23:11:08Z")

</div>

Hi, I currently have, begin require ‘funit’ rescue LoadError require ‘rubygems’ require ‘funit’ end What /should/ I be using? Thanks,

---

## [How to download file from web site](https://www.ruby-forum.com/t/how-to-download-file-from-web-site/87536)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 16\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/how-to-download-file-from-web-site/87536 "2007-09-25T23:10:54Z")

</div>

Okay, it’s easy to download a file from an FTP server with Net::FTP. Given a URL like this: “http://rubyforge.org/frs/download.php/17670/RMagick-1.15.3.tar.gz” is there a way using pure Ruby to download this file?

---

## [Fugly hex](https://www.ruby-forum.com/t/fugly-hex/108697)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/fugly-hex/108697 "2007-09-25T23:10:53Z")

</div>

Recently I got a hard drive back from a drive recovery place after it had died a messy, violent, public death, like a Sopranos guest star. I had to restore 65,536 directories. Each directory contained some unknown (po…

---

## [Redefining methods](https://www.ruby-forum.com/t/redefining-methods/110862)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 11\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/redefining-methods/110862 "2007-09-25T23:10:53Z")

</div>

i was playing with this last night, thought some here might be interested: http://drawohara.tumblr.com/post/7241442 cheers. a @ http://drawohara.com/

---

## [Taking the bull by its horns](https://www.ruby-forum.com/t/taking-the-bull-by-its-horns/109641)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 141\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/taking-the-bull-by-its-horns/109641 "2007-09-25T23:10:51Z")

</div>

Ok I’ll put my cards on the table male 45y bg: Pascal (who’s laughing?) Ada83, perl, python \[ I only chose the languages that influenced me, so I left C, bash and awk away ;)\] wk: Sys and netadmin Arrggg location: P…

---

## [Re:](https://www.ruby-forum.com/t/re/115512)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/re/115512 "2007-09-25T23:10:51Z")

</div>

So, if I have my list as yaw way lkajsdflkjasdflkjasdf I can just do ‘yaw’ = ‘way’?

---

## [Regexp: named captures](https://www.ruby-forum.com/t/regexp-named-captures/112554)

<div class="topic-metadata">

**Author:** [@Ari\_B](https://www.ruby-forum.com/u/Ari_B)\
**Replies:** 20\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/regexp-named-captures/112554 "2007-09-25T23:10:51Z")

</div>

How do named captures in Ruby work? This is what I’ve tried: irb(main):001:0\> if /(?.+)/ =~ /ari/ irb(main):002:1\> puts $name irb(main):003:1\> end SyntaxError: compile error (irb):1: undefined (?..) sequence: /(?.+)…

---

## [Ruby GUI?](https://www.ruby-forum.com/t/ruby-gui/111369)

<div class="topic-metadata">

**Author:** [@EVman](https://www.ruby-forum.com/u/EVman)\
**Replies:** 7\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ruby-gui/111369 "2007-09-25T23:10:50Z")

</div>

I am just playing with Ruby at the moment, although seriously enough to buy a couple of books, so I am still in the command line learning mode (on Linux). I was wondering what Ruby folks use to build gui apps. I not…

---

## [Tinderbox 1.0.0 Released](https://www.ruby-forum.com/t/tinderbox-1-0-0-released/83996)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 18\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/tinderbox-1-0-0-released/83996 "2007-09-25T23:10:50Z")

</div>

tinderbox version 1.0.0 has been released! http://seattlerb.rubyforge.org/tinderbox == DESCRIPTION: Tinderbox tests projects and tries to make them break by running them on as many different platforms as possible. =…

---

## [Download Ruby Core API](https://www.ruby-forum.com/t/download-ruby-core-api/114517)

<div class="topic-metadata">

**Author:** [@mahen](https://www.ruby-forum.com/u/mahen)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/download-ruby-core-api/114517 "2007-09-25T23:10:50Z")

</div>

Does anyone know where I can download a PDF or anything of RUBY’s core api for offline browsing. I tried to download it from http://www.ruby-doc.org/download/ruby-doc-bundle.zip but in vain.

---

## [Metadata 1.1](https://www.ruby-forum.com/t/metadata-1-1/115412)

<div class="topic-metadata">

**Author:** [@Ilmari\_H](https://www.ruby-forum.com/u/Ilmari_H)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/metadata-1-1/115412 "2007-09-25T23:10:49Z")

</div>

tarball: http://dark.fhtr.org/repos/metadata/metadata-1.1.tar.gz gem: http://dark.fhtr.org/repos/metadata/metadata-1.1.gem git: http://dark.fhtr.org/repos/metadata Changes more README documentation all output fie…

---

## [Ruby Forum \> Ruby Talk \> comp.lang.ruby?](https://www.ruby-forum.com/t/ruby-forum-ruby-talk-comp-lang-ruby/114584)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 23\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/ruby-forum-ruby-talk-comp-lang-ruby/114584 "2007-09-25T23:10:48Z")

</div>

so it seems like Google created Ruby T. and anything posted to Ruby Talk will post to comp.lang.ruby. but then people replying on the comp.lang.ruby will not get the answer through to the Ruby T. poster… and then, Ru…

---

## [Question about mod\_ruby, eruby and ajax](https://www.ruby-forum.com/t/question-about-mod-ruby-eruby-and-ajax/88821)

<div class="topic-metadata">

**Author:** [@Fei\_L](https://www.ruby-forum.com/u/Fei_L)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/question-about-mod-ruby-eruby-and-ajax/88821 "2007-09-25T23:10:47Z")

</div>

Hi Group, I have a question about eruby. I keep getting the following error. I get the same error in apache error log when I try to view it in firefox. How do I fix it: eruby pique.rhtml pique.rhtml:1: undefined meth…

---

## [Tinderbox with unpublished gem](https://www.ruby-forum.com/t/tinderbox-with-unpublished-gem/86479)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/tinderbox-with-unpublished-gem/86479 "2007-09-25T23:10:46Z")

</div>

How can I run an unpublished gem in tinderbox?

---

## [$BJ8;zNs$N(Binspect](https://www.ruby-forum.com/t/bj8-zns-n-binspect/114724)

<div class="topic-metadata">

**Author:** [@eklerni](https://www.ruby-forum.com/u/eklerni)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/bj8-zns-n-binspect/114724 "2007-09-25T23:10:40Z")

</div>

eklernie$B$H$$$$$^$9!#e(B 1.9e$B$GJ8;zNs$Ne(Binspecte$B$,J8;z2=$1$7$?46$8$K$J$j$^$9!#!Je(BWindowse$B!Ke(B $ruby -v -Ks -e “print ‘e$B$k$S$#e(B’ , ‘e$B$k$S$#e(B’.inspect” ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-mswi…

---

## [How to adopt "Python Style" indentation for Ruby](https://www.ruby-forum.com/t/how-to-adopt-python-style-indentation-for-ruby/104651)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 37\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/how-to-adopt-python-style-indentation-for-ruby/104651 "2007-09-25T23:10:40Z")

</div>

Obviously based on the earlier thread. I think this is actually an utterly terrible idea. Haven’t you heard that song by Loverboy? “Pig and elephant DNA just don’t mix”? But I think the implementation would be fascina…

---

## [Uniforma-0.0.1 - converter for text formats](https://www.ruby-forum.com/t/uniforma-0-0-1-converter-for-text-formats/114712)

<div class="topic-metadata">

**Author:** [@Victor\_SZverokSS\_Sh](https://www.ruby-forum.com/u/Victor_SZverokSS_Sh)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/uniforma-0-0-1-converter-for-text-formats/114712 "2007-09-25T23:10:40Z")

</div>

Hi all. I’m pleased to announce 0.0.1 (aka “early adopters only” release) of my Uniforma library. It’s here: http://rubyforge.org/projects/uniforma/ == What is it? Library for parsing “simple text” formats (RD, Text…

---

## [Getting to the last file in a chain of symlinks](https://www.ruby-forum.com/t/getting-to-the-last-file-in-a-chain-of-symlinks/88346)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/getting-to-the-last-file-in-a-chain-of-symlinks/88346 "2007-09-25T23:10:38Z")

</div>

Hi all, Here’s a little code snippet I thought I’d share. It follows a chain of symlinks until you get down to the “real” file. Anyone got a better approach? On Solaris 10, Sunblade 150 /dev/fd0 -\> fd0c /dev/fd…

---

## [SysAdmin of the Year: Nominate Tom Copeland?](https://www.ruby-forum.com/t/sysadmin-of-the-year-nominate-tom-copeland/112970)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 9\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/sysadmin-of-the-year-nominate-tom-copeland/112970 "2007-09-25T23:10:37Z")

</div>

From SourceForge.net comes, SysAdmin of the Year Contest Do have know a SysAdmin who goes beyond the call of duty? If so, nominate them as SysAdmin of the Year 2007. They can win great prizes (Macbook Pro, iPhone, S…

---

## [How do I patch Test::Unit?](https://www.ruby-forum.com/t/how-do-i-patch-test-unit/114694)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/how-do-i-patch-test-unit/114694 "2007-09-25T23:10:37Z")

</div>

I’ve finally found some time to dig into one of my favorite parts of Ruby, the Test::Unit module. I have some ideas for how to enhance it a bit. First I just wanted to do a sanity check that I can make changes and s…

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

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