# Ruby

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

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

---

## [Executing threads](https://www.ruby-forum.com/t/executing-threads/125439)

<div class="topic-metadata">

**Author:** [@deadlykyo](https://www.ruby-forum.com/u/deadlykyo)\
**Replies:** 0\
**Last updated:** [January 9, 2008, 4:19am UTC](https://www.ruby-forum.com/t/executing-threads/125439 "2008-01-09T04:19:27Z")

</div>

Hi guys, I wanna ask you about threads, if exists some way that threads are executed one after the other one, and not in parallel, Thx in advance for your help

---

## [Command-set 0.9.0 Released](https://www.ruby-forum.com/t/command-set-0-9-0-released/125438)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [January 9, 2008, 4:11am UTC](https://www.ruby-forum.com/t/command-set-0-9-0-released/125438 "2008-01-09T04:11:33Z")

</div>

command-set version 0.9.0 has been released! CommandSet is a interactive program framework. Its focus is a DSL for defining commands, much like Rake or RSpec. The actual interpreter is left as an open question, alth…

---

## [Trollop 1.7.1 released](https://www.ruby-forum.com/t/trollop-1-7-1-released/125318)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 3:48am UTC](https://www.ruby-forum.com/t/trollop-1-7-1-released/125318 "2008-01-09T03:48:09Z")

</div>

Trollop version 1.7.1 has been released! http://trollop.rubyforge.org DESCRIPTION Trollop is YAFCLAP — yet another fine commandline argument processor for Ruby. Trollop is designed to provide the maximal amount of G…

---

## [Rubygame Music and Audio Formats](https://www.ruby-forum.com/t/rubygame-music-and-audio-formats/125130)

<div class="topic-metadata">

**Author:** [@thefed](https://www.ruby-forum.com/u/thefed)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 3:15am UTC](https://www.ruby-forum.com/t/rubygame-music-and-audio-formats/125130 "2008-01-09T03:15:57Z")

</div>

For some reason, Rubygame is printing to the console “warning: incorrect audio format” whenever I try to make a Rubygame::Mixer::Music object. I feed it the absolute path to a verified mp3 file, yet it puts that out! …

---

## [BackgrounDRb 1.0.1 release available now](https://www.ruby-forum.com/t/backgroundrb-1-0-1-release-available-now/125434)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 0\
**Last updated:** [January 9, 2008, 2:33am UTC](https://www.ruby-forum.com/t/backgroundrb-1-0-1-release-available-now/125434 "2008-01-09T02:33:48Z")

</div>

Hi Folks, I am glad to announce a 1.0.1 release of BackgrounDRb library. It has numerous fixes and some nice feature updates, so please upgrade. Code: http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/ Updates …

---

## [Paid subscription Ruby magazines](https://www.ruby-forum.com/t/paid-subscription-ruby-magazines/125334)

<div class="topic-metadata">

**Author:** [@jbhruby](https://www.ruby-forum.com/u/jbhruby)\
**Replies:** 2\
**Last updated:** [January 9, 2008, 2:32am UTC](https://www.ruby-forum.com/t/paid-subscription-ruby-magazines/125334 "2008-01-09T02:32:03Z")

</div>

Are there any Ruby magazines that you can pay to subscribe to? (either paper or on-line).

---

## [Prob only with ruby](https://www.ruby-forum.com/t/prob-only-with-ruby/125401)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 7\
**Last updated:** [January 9, 2008, 1:07am UTC](https://www.ruby-forum.com/t/prob-only-with-ruby/125401 "2008-01-09T01:07:18Z")

</div>

Hello i am using ole automation to drive some of my processes. the following code would run properly in other languages like vbscript. but it fails only in ruby application = WIN32OLE.new(“Broker.Application”) analy…

---

## [Using string variable to call a method](https://www.ruby-forum.com/t/using-string-variable-to-call-a-method/125284)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 6\
**Last updated:** [January 8, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/using-string-variable-to-call-a-method/125284 "2008-01-08T23:48:52Z")

</div>

Hello all, How can I use a string variable as part of a method name I’m calling? For example say I want to call the method say\_hello using the following: def say\_hello puts “Hello!” end str = “hello” say\_??? Tha…

---

## [Shell glob functionality missing?](https://www.ruby-forum.com/t/shell-glob-functionality-missing/125416)

<div class="topic-metadata">

**Author:** [@wemagor](https://www.ruby-forum.com/u/wemagor)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/shell-glob-functionality-missing/125416 "2008-01-08T23:46:34Z")

</div>

If you call a Ruby script with a parameter such as: c:\\my source\*\*.c Ruby will give an array in ARGV that contains all the c files in all the directories. It will also turn the backslashes into forward slashes. The…

---

## [Needing Help with OptionParser](https://www.ruby-forum.com/t/needing-help-with-optionparser/125400)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/needing-help-with-optionparser/125400 "2008-01-08T22:44:58Z")

</div>

Hello All, I’m hoping someone can help me get around a problem I’m having. I have a Ruby command-line program where I use OptionParser to parse the program’s options. This program is a wrapper for a bunch of other…

---

## [Shoes Curious (0.r396) is out](https://www.ruby-forum.com/t/shoes-curious-0-r396-is-out/125414)

<div class="topic-metadata">

**Author:** [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 10:38pm UTC](https://www.ruby-forum.com/t/shoes-curious-0-r396-is-out/125414 "2008-01-08T22:38:31Z")

</div>

Today marks the first official release of Shoes, entitled Curious. Shoes is a tiny toolkit (coded in C) for writing windowing apps in Ruby. It’s quite cross-platform, offering an environment for Windows, OS X, Linux, …

---

## [Request for Duration library localizations](https://www.ruby-forum.com/t/request-for-duration-library-localizations/123868)

<div class="topic-metadata">

**Author:** [@mhinton](https://www.ruby-forum.com/u/mhinton)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 9:14pm UTC](https://www.ruby-forum.com/t/request-for-duration-library-localizations/123868 "2008-01-08T21:14:08Z")

</div>

If you speak another language and would like to contribute to the Duration library, you can contribute largely by writing short translation files! You can install Duration like-so: $ gem install -r duration (may need…

---

## [Where is that method defined?](https://www.ruby-forum.com/t/where-is-that-method-defined/125380)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/where-is-that-method-defined/125380 "2008-01-08T20:57:06Z")

</div>

I’m looking at ruby code for a class, for which I can call a method but which I don’t find in the class source code. I suppose this is a feature of Ruby that I have yet to learn. Can anyone help me please? Specifical…

---

## [Get your hands dirty: Help bootstrap Ruby on Windows](https://www.ruby-forum.com/t/get-your-hands-dirty-help-bootstrap-ruby-on-windows/124936)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 19\
**Last updated:** [January 8, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/get-your-hands-dirty-help-bootstrap-ruby-on-windows/124936 "2008-01-08T20:40:42Z")

</div>

This was asked, and asked, and asked too many times, so here we go. Since I don’t want to hold anyone to try it, I’ll like to share some progress I’ve made in this area. I’ll like to make a few points clear before: …

---

## [RubyCamp 2008 (Vancouver-Jan/26th) - Call for Speakers, Sponsors, Hack-a-thon Projects](https://www.ruby-forum.com/t/rubycamp-2008-vancouver-jan-26th-call-for-speakers-sponsors-hack-a-thon-projects/125395)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 8:36pm UTC](https://www.ruby-forum.com/t/rubycamp-2008-vancouver-jan-26th-call-for-speakers-sponsors-hack-a-thon-projects/125395 "2008-01-08T20:36:01Z")

</div>

Hello, == Call for Speakers - We Heart JavaScript Talks (Ruby’s Ugly-Cool Half-Sister) == Just a reminder that you’re invited to sign-up for a talk at the upcoming RubyCamp 2008. The sooner you send in your talk prop…

---

## [File operations](https://www.ruby-forum.com/t/file-operations/125315)

<div class="topic-metadata">

**Author:** [@olita](https://www.ruby-forum.com/u/olita)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/file-operations/125315 "2008-01-08T20:04:33Z")

</div>

Hi, could you tell me how to compare 2 files (if a block of the first file contains the second file). for example. file 1: ----- ----- ----- file 2: I need to verify if the content of the 2nd file is…

---

## [Ruby-opengl 0.60.0 released](https://www.ruby-forum.com/t/ruby-opengl-0-60-0-released/125390)

<div class="topic-metadata">

**Author:** [@jandrake](https://www.ruby-forum.com/u/jandrake)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 7:56pm UTC](https://www.ruby-forum.com/t/ruby-opengl-0-60-0-released/125390 "2008-01-08T19:56:30Z")

</div>

Hello, we’ve just released version 0.60.0 of the OpenGL bindings for ruby. Changes: Automatic error checking for GL/GLU calls, enabled by default (see doc/tutorial) Added support for many more OpenGL extensions Supp…

---

## [Bug, Feature, Question tracking system](https://www.ruby-forum.com/t/bug-feature-question-tracking-system/125226)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/bug-feature-question-tracking-system/125226 "2008-01-08T19:50:37Z")

</div>

Hello! I am a young developer finishing my apprenticeship(vocational education in Germany) next week on Friday. I am using mostly VB.Net at work, some Perl, PHP and C++. I “found” Ruby last summer and I fell in love …

---

## [Winole prob or not](https://www.ruby-forum.com/t/winole-prob-or-not/125383)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 6:46pm UTC](https://www.ruby-forum.com/t/winole-prob-or-not/125383 "2008-01-08T18:46:04Z")

</div>

hello i am chcking if i have the app amibroker instance running. if it is, i want to close it smoothly. however i land into a ole problem here. it only quits 1 instance at a single run. for eg. if i i have 3 instanc…

---

## [Using benchmark for wait times](https://www.ruby-forum.com/t/using-benchmark-for-wait-times/125377)

<div class="topic-metadata">

**Author:** [@shinji](https://www.ruby-forum.com/u/shinji)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 6:36pm UTC](https://www.ruby-forum.com/t/using-benchmark-for-wait-times/125377 "2008-01-08T18:36:05Z")

</div>

Iâ€™m trying to use Benchmark, to return the wait time for a search in an application, and thought I could fairly neatly wrap up the wait time like this: $logger.log(Benchmark.measure($ie.wait())) However, when I run…

---

## [Chop and chop!](https://www.ruby-forum.com/t/chop-and-chop/125372)

<div class="topic-metadata">

**Author:** [@johnsmith](https://www.ruby-forum.com/u/johnsmith)\
**Replies:** 2\
**Last updated:** [January 8, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/chop-and-chop/125372 "2008-01-08T17:56:06Z")

</div>

hi, i know for 99% of you this is a very basic question but i was wondering what the difference between chop and chop! commands are. thanks

---

## [Zed shaw zed shaw zed shaw](https://www.ruby-forum.com/t/zed-shaw-zed-shaw-zed-shaw/125020)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 30\
**Last updated:** [January 8, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/zed-shaw-zed-shaw-zed-shaw/125020 "2008-01-08T17:42:29Z")

</div>

Zed S. zed shaw, zed; shaw. Zed shaw? Zed, zed, shaw, shaw; shaw zed. Zed zed shaw shaw shaw? Wahs dez! Wahs dez zed shaw, zed zed shaw shaw. – Giles B. Podcast: http://hollywoodgrit.blogspot.com Blog: http://giles…

---

## [Ruby and dde](https://www.ruby-forum.com/t/ruby-and-dde/197158)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 5:32pm UTC](https://www.ruby-forum.com/t/ruby-and-dde/197158 "2008-01-08T17:32:57Z")

</div>

is there any ruby libraries or ole libriries for dde. am looking high and low and cannot find one with some examples. google returns so many matches but none with proper info. i am surprise not to find one proper as …

---

## [Questions from a java programmer](https://www.ruby-forum.com/t/questions-from-a-java-programmer/124906)

<div class="topic-metadata">

**Author:** [@nbits](https://www.ruby-forum.com/u/nbits)\
**Replies:** 10\
**Last updated:** [January 8, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/questions-from-a-java-programmer/124906 "2008-01-08T16:59:29Z")

</div>

Hi, I currently work as a freelance Java programmer doing contracts in Europe and am very interested in Ruby. I have a couple of questions: a) What is the current corporate distribution of the language? Is the langu…

---

## [Proc to block](https://www.ruby-forum.com/t/proc-to-block/125313)

<div class="topic-metadata">

**Author:** [@L\_A](https://www.ruby-forum.com/u/L_A)\
**Replies:** 7\
**Last updated:** [January 8, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/proc-to-block/125313 "2008-01-08T16:57:08Z")

</div>

Hello all, Is there a way to turn a Proc into a block for the purposes of methods that yield to blocks? It’s not a necessity as I can always wrap the Proc in a block, I’m just curious. Thanks, Loren \_\_\_\_\_\_\_\_\_\_\_\_…

---

## [Viewing code](https://www.ruby-forum.com/t/viewing-code/125310)

<div class="topic-metadata">

**Author:** [@fussy](https://www.ruby-forum.com/u/fussy)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/viewing-code/125310 "2008-01-08T16:34:56Z")

</div>

I am new to ruby and although I am learning quickley I was wondering if it is possible to view code, I will explain. When I write a module I can use the below code to print out the method names I used in my module on …

---

## [Re: Marshal Pipe](https://www.ruby-forum.com/t/re-marshal-pipe/125360)

<div class="topic-metadata">

**Author:** [@Carlos\_JSHernandez](https://www.ruby-forum.com/u/Carlos_JSHernandez)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/re-marshal-pipe/125360 "2008-01-08T16:06:44Z")

</div>

Robert: ruby -e ‘10.times {|i| Marshal.dump(i, $stdout) }’ | ruby -e ‘until $stdin.eof?; p Marshal.load($stdin) end’ THANKS!!! Did not recognized it at first read, because it’s a bit cryptic. -Carlos

---

## [Defining a function inside a function. Whats this feature ? How to use inside a class?](https://www.ruby-forum.com/t/defining-a-function-inside-a-function-whats-this-feature-how-to-use-inside-a-class/125346)

<div class="topic-metadata">

**Author:** [@sur](https://www.ruby-forum.com/u/sur)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 3:52pm UTC](https://www.ruby-forum.com/t/defining-a-function-inside-a-function-whats-this-feature-how-to-use-inside-a-class/125346 "2008-01-08T15:52:04Z")

</div>

Hi Everyone, I am not sure if I have seen it being used earlier or probably I don’t know how to use it. when I define function(s) inside a function within the main object, it works… def person def author p “I am …

---

## [STRONG dynamic typing favors tools..?](https://www.ruby-forum.com/t/strong-dynamic-typing-favors-tools/125266)

<div class="topic-metadata">

**Author:** [@John\_Papas](https://www.ruby-forum.com/u/John_Papas)\
**Replies:** 6\
**Last updated:** [January 8, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/strong-dynamic-typing-favors-tools/125266 "2008-01-08T15:45:36Z")

</div>

One of the things I like about languages like Java is that since it is statically typed I get tools that assist me when I write code, for example if I misspell a function name. What I really hate about dynamic languag…

---

## [Fwd: DHCP Client](https://www.ruby-forum.com/t/fwd-dhcp-client/125354)

<div class="topic-metadata">

**Author:** [@derek](https://www.ruby-forum.com/u/derek)\
**Replies:** 1\
**Last updated:** [January 8, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/fwd-dhcp-client/125354 "2008-01-08T15:29:07Z")

</div>

On 8 Jan 2008, at 11:54, Miquel wrote: “Robert K.” removed\_email\_address@domain.invalid escriguÃ©: 2008/1/7, Miquel removed\_email\_address@domain.invalid: Does anybody know if any dhcp library exists in Ruby (I hav…

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

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