# Ruby

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

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

---

## [ZenTest 3.2.0 Released](https://www.ruby-forum.com/t/zentest-3-2-0-released/57467)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 0\
**Last updated:** [April 11, 2006, 8:33am UTC](https://www.ruby-forum.com/t/zentest-3-2-0-released/57467 "2006-04-11T08:33:51Z")

</div>

ZenTest version 3.2.0 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ == DESCRIPTION ZenTest provides 4 different tools and 1 library: zentest, unit\_diff, autotest, multiruby, and Test::Rails. ZenT…

---

## [Include....with an end?](https://www.ruby-forum.com/t/include-with-an-end/93813)

<div class="topic-metadata">

**Author:** [@Bihal](https://www.ruby-forum.com/u/Bihal)\
**Replies:** 0\
**Last updated:** [April 11, 2006, 5:41am UTC](https://www.ruby-forum.com/t/include-with-an-end/93813 "2006-04-11T05:41:57Z")

</div>

Hey guys, ran into some weird code that seems to have an “end” for an “include” module Fox module FTNonModal include Responder #a bunch of code, comments and methods I removed end end end If you need the rest of…

---

## [Ruby Grammar - "do"](https://www.ruby-forum.com/t/ruby-grammar-do/57353)

<div class="topic-metadata">

**Author:** [@Bihal](https://www.ruby-forum.com/u/Bihal)\
**Replies:** 13\
**Last updated:** [April 11, 2006, 1:17am UTC](https://www.ruby-forum.com/t/ruby-grammar-do/57353 "2006-04-11T01:17:37Z")

</div>

Hey everyone I work for a software development company that is currently writing an in-house grammar for parsing Ruby. I’ve been frustrated by it many, many, many times. Maybe it’s easy to program in, but it’s a night…

---

## [Gem mirrors not updating?](https://www.ruby-forum.com/t/gem-mirrors-not-updating/93699)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 6\
**Last updated:** [April 11, 2006, 1:06am UTC](https://www.ruby-forum.com/t/gem-mirrors-not-updating/93699 "2006-04-11T01:06:40Z")

</div>

Hi, Just wondering if anyone else who maintains gems on rubyforge.org has posted a gem recently and seen it not migrate to the gem mirrors? I post Mongrel 0.3.12.3 and it’s not there yet, but not sure if that’s bec…

---

## [\[SOLUTION\] Markov Chains (#74)](https://www.ruby-forum.com/t/solution-markov-chains-74/57308)

<div class="topic-metadata">

**Author:** [@Joern\_D](https://www.ruby-forum.com/u/Joern_D)\
**Replies:** 8\
**Last updated:** [April 11, 2006, 12:48am UTC](https://www.ruby-forum.com/t/solution-markov-chains-74/57308 "2006-04-11T00:48:33Z")

</div>

Hi all, Here’s my solution for the quiz No 74. It generates text with a first order Markov Chain. Because the matrix of a Markov chain for native language tests is sparse, the chain is stored in a hash of hashes for …

---

## [Markov Chains (#74)](https://www.ruby-forum.com/t/markov-chains-74/57146)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 36\
**Last updated:** [April 11, 2006, 12:02am UTC](https://www.ruby-forum.com/t/markov-chains-74/57146 "2006-04-11T00:02:25Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Segfault with tk.rb](https://www.ruby-forum.com/t/segfault-with-tk-rb/89583)

<div class="topic-metadata">

**Author:** [@wybodekker](https://www.ruby-forum.com/u/wybodekker)\
**Replies:** 10\
**Last updated:** [April 10, 2006, 10:48pm UTC](https://www.ruby-forum.com/t/segfault-with-tk-rb/89583 "2006-04-10T22:48:39Z")

</div>

This works OK: #!/usr/bin/ruby require 'tk' class TkVariable def to\_m "%.2f" % \[self.to\_i.abs/100.0\] end end puts TkVariable.new(12345).to\_m -\> 123.45 But when I add the -w option to the first line, …

---

## [Oracle on HP-UX: was Ruby on HP-UX](https://www.ruby-forum.com/t/oracle-on-hp-ux-was-ruby-on-hp-ux/57432)

<div class="topic-metadata">

**Author:** [@Tim\_Nordloh](https://www.ruby-forum.com/u/Tim_Nordloh)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/oracle-on-hp-ux-was-ruby-on-hp-ux/57432 "2006-04-10T22:33:18Z")

</div>

Assuming you are an Oracle user, here’s what I had to do to get the Oracle driver ‘working’. Obvious steps: Install dbd install Oracle DBI unobvious step, When I ran the test cases, I got this error: Can’t dlopen…

---

## [Ways to find File MetaData information?](https://www.ruby-forum.com/t/ways-to-find-file-metadata-information/57355)

<div class="topic-metadata">

**Author:** [@udinesh](https://www.ruby-forum.com/u/udinesh)\
**Replies:** 4\
**Last updated:** [April 10, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/ways-to-find-file-metadata-information/57355 "2006-04-10T22:24:10Z")

</div>

Hi, Is there a way were we can find about the “meta data information” of an existing file in the directory using ruby, like 1)When the file was created, 2)When was it modifed 3)when was it accessed. etc. ie. If …

---

## [Re: Markov Chain (#74)](https://www.ruby-forum.com/t/re-markov-chain-74/93804)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 9:38pm UTC](https://www.ruby-forum.com/t/re-markov-chain-74/93804 "2006-04-10T21:38:02Z")

</div>

Author: Shane E. Quiz 74: Markov Chains This is a bug fix and enhancement to my previous solution. Originally this was a recreation of the Mark V. Shaney program. However, after extensive work it is something new. You …

---

## [New/initialize](https://www.ruby-forum.com/t/new-initialize/93801)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 5\
**Last updated:** [April 10, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/new-initialize/93801 "2006-04-10T20:21:38Z")

</div>

Just a point of clarification. When I call Obj.new() I actually call the clall Obj def initialize() end end so there is an implied connection between new() and initialize()? Historically is there some reason why…

---

## [Reap 4.3.4](https://www.ruby-forum.com/t/reap-4-3-4/93728)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [April 10, 2006, 8:00pm UTC](https://www.ruby-forum.com/t/reap-4-3-4/93728 "2006-04-10T20:00:00Z")

</div>

A N N O U N C I N G Reap, v4.3.4 Tools for Ruby project testing, management and assistance. http://reap.rubyforge.org REAP THE REWARDS! ABSTRACT ---------…

---

## [Rexml :attlistdecl](https://www.ruby-forum.com/t/rexml-attlistdecl/57404)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 6:07pm UTC](https://www.ruby-forum.com/t/rexml-attlistdecl/57404 "2006-04-10T18:07:59Z")

</div>

I’d like to parse the href attribute value from a simple table… text parser.listen( :characters, %w{ td, a } ) {|text| puts “text=” \<\< text; } the above works fine… although the below does not work… parser.listen(…

---

## [Do not use java because it is not open source](https://www.ruby-forum.com/t/do-not-use-java-because-it-is-not-open-source/93388)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 14\
**Last updated:** [April 10, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/do-not-use-java-because-it-is-not-open-source/93388 "2006-04-10T17:57:00Z")

</div>

Programing Languiges Are Ment to be free. That is why i am starting The Coo De Tar thats french for Blow of state it is a flash/java alternative and if you are going to use a server side languige use Perl,Python or be…

---

## [Ruby 1.8.4 binaries for Win32 are available here](https://www.ruby-forum.com/t/ruby-1-8-4-binaries-for-win32-are-available-here/82932)

<div class="topic-metadata">

**Author:** [@Conductor](https://www.ruby-forum.com/u/Conductor)\
**Replies:** 6\
**Last updated:** [April 10, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-binaries-for-win32-are-available-here/82932 "2006-04-10T17:29:08Z")

</div>

Ruby 1.8.4 for Microsoft Windows (Win32): File: ruby-1.8.4-i386-mswin32.zip (6,950KB) Version: ruby 1.8.4 (2005-12-24) \[i386-mswin32\] Md5sum: d0ecd0984988c9740ed96b92d43d76b8 Download URL: ftp://ftp.ruby-lang.org/pub/…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/93792)

<div class="topic-metadata">

**Author:** [@Carlos\_Diaz](https://www.ruby-forum.com/u/Carlos_Diaz)\
**Replies:** 2\
**Last updated:** [April 10, 2006, 4:45pm UTC](https://www.ruby-forum.com/t/unsubscribe/93792 "2006-04-10T16:45:57Z")

</div>

unsubscribe

---

## [Beginner array manipulation questions](https://www.ruby-forum.com/t/beginner-array-manipulation-questions/57389)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 1\
**Last updated:** [April 10, 2006, 4:39pm UTC](https://www.ruby-forum.com/t/beginner-array-manipulation-questions/57389 "2006-04-10T16:39:45Z")

</div>

Suppose the variable path is an array of fully qualified path and file names (e.g., in Windows, an item might be “c:\\folder\\file.txt”). What would be an efficient way of creating another array that contained only the…

---

## [ObjectSpace searching](https://www.ruby-forum.com/t/objectspace-searching/57342)

<div class="topic-metadata">

**Author:** [@mfaine](https://www.ruby-forum.com/u/mfaine)\
**Replies:** 2\
**Last updated:** [April 10, 2006, 4:33pm UTC](https://www.ruby-forum.com/t/objectspace-searching/57342 "2006-04-10T16:33:36Z")

</div>

I wrote some code that searches ObjectSpace prior to initializing an object to see if one of that type and some attributes is already present and uses that instead of initializing. (yes it’s active record and i am try…

---

## [Fwd: Please Forward: Markov Chain](https://www.ruby-forum.com/t/fwd-please-forward-markov-chain/57384)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 3:53pm UTC](https://www.ruby-forum.com/t/fwd-please-forward-markov-chain/57384 "2006-04-10T15:53:37Z")

</div>

Begin forwarded message:

---

## [Markov Chain (#74)](https://www.ruby-forum.com/t/markov-chain-74/93794)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/markov-chain-74/93794 "2006-04-10T15:44:29Z")

</div>

Author: Shane E. Quiz 74: Markov Chains This is based off of the classic Mark V. Shaney program. The basic algorithm only looked at the previous two words. I have changed it, so that it can check the previous four, pre…

---

## [New release of WSS4R](https://www.ruby-forum.com/t/new-release-of-wss4r/57380)

<div class="topic-metadata">

**Author:** [@schmitr3](https://www.ruby-forum.com/u/schmitr3)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/new-release-of-wss4r/57380 "2006-04-10T15:22:54Z")

</div>

Hi everyone, today a new release of WSS4R (www.rubyforge.org/projects/wss4r) is available ! It is only a bugfix release. There was an error that caused the following message: c:/ruby/lib/ruby/1.8/i386-mswin32/digest…

---

## [Linalg library dependence question](https://www.ruby-forum.com/t/linalg-library-dependence-question/93793)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 3:04pm UTC](https://www.ruby-forum.com/t/linalg-library-dependence-question/93793 "2006-04-10T15:04:22Z")

</div>

Dear all, I am trying to install the linalg library, which requires LAPACK to be installed. I use it under Cygwin and downloaded the latest version of Lapack and installed it. However, in the install process, an erro…

---

## [Ruby-oci8 0.1.14](https://www.ruby-forum.com/t/ruby-oci8-0-1-14/73432)

<div class="topic-metadata">

**Author:** [@KUBO\_Takehiro](https://www.ruby-forum.com/u/KUBO_Takehiro)\
**Replies:** 4\
**Last updated:** [April 10, 2006, 11:14am UTC](https://www.ruby-forum.com/t/ruby-oci8-0-1-14/73432 "2006-04-10T11:14:49Z")

</div>

ruby-oci8 0.1.14 is released. This is a Oracle module using OCI8 API. URL:http://rubyforge.org/projects/ruby-oci8/ What’s new: add OCI8#prefetch\_rows=. This specifies the number of rows in a single round trip. Th…

---

## [Ruby/Informix 0.1.0 released](https://www.ruby-forum.com/t/ruby-informix-0-1-0-released/57358)

<div class="topic-metadata">

**Author:** [@Gerardo\_SSGSSS\_mez](https://www.ruby-forum.com/u/Gerardo_SSGSSS_mez)\
**Replies:** 0\
**Last updated:** [April 10, 2006, 10:23am UTC](https://www.ruby-forum.com/t/ruby-informix-0-1-0-released/57358 "2006-04-10T10:23:06Z")

</div>

Ruby/Informix is a Ruby extension for connecting to IBM Informix Dynamic Server, written in ESQL/C. It provides a convenient interface for querying an Informix database the Ruby way and bringing the Informix power and…

---

## [Newbie: dates by week and year](https://www.ruby-forum.com/t/newbie-dates-by-week-and-year/57156)

<div class="topic-metadata">

**Author:** [@Jeroen\_van\_Doorn](https://www.ruby-forum.com/u/Jeroen_van_Doorn)\
**Replies:** 3\
**Last updated:** [April 10, 2006, 10:16am UTC](https://www.ruby-forum.com/t/newbie-dates-by-week-and-year/57156 "2006-04-10T10:16:51Z")

</div>

Hi Everybody, Am a newbie to ruby, so forgive me if this is a stupid question, I’m looking for a way to get a series of dates (monday - sunday or sunday - saturday) , but I’m only having the year and the week number…

---

## [URI.join broken?](https://www.ruby-forum.com/t/uri-join-broken/57327)

<div class="topic-metadata">

**Author:** [@oandrich](https://www.ruby-forum.com/u/oandrich)\
**Replies:** 6\
**Last updated:** [April 10, 2006, 10:12am UTC](https://www.ruby-forum.com/t/uri-join-broken/57327 "2006-04-10T10:12:23Z")

</div>

Hi, I have been looking at the documentation and the source of URI.join and can’t see what I have misunderstood. http://ruby-doc.org/stdlib/libdoc/uri/rdoc/classes/URI.html#M009245 I except URI.join(“test.de Archiv |…

---

## [Creating Detached Processes](https://www.ruby-forum.com/t/creating-detached-processes/57352)

<div class="topic-metadata">

**Author:** [@s.ross\_Ssent\_by\_Nab](https://www.ruby-forum.com/u/s.ross_Ssent_by_Nab)\
**Replies:** 1\
**Last updated:** [April 10, 2006, 9:52am UTC](https://www.ruby-forum.com/t/creating-detached-processes/57352 "2006-04-10T09:52:08Z")

</div>

I need to create a side-by-side process that will stay alive after the Ruby process that created it dies. I also need to get the PID so I can kill it later. Background: This command will be executed on a server over …

---

## [Re: Dumb reflection problem - create object from String](https://www.ruby-forum.com/t/re-dumb-reflection-problem-create-object-from-string/57330)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 9, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/re-dumb-reflection-problem-create-object-from-string/57330 "2006-04-09T23:03:31Z")

</div>

require ‘facet/kernel/constant’ myExampleClassInstance = constant(‘MyExampleClass’).new T.

---

## [Gateway?](https://www.ruby-forum.com/t/gateway/93778)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 9, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/gateway/93778 "2006-04-09T23:03:25Z")

</div>

Anyone working on the Gateway problems. It’s been down since the 6th –still no sync up. :frowning: T.

---

## [Dumb reflection problem - create object from String](https://www.ruby-forum.com/t/dumb-reflection-problem-create-object-from-string/57325)

<div class="topic-metadata">

**Author:** [@parki](https://www.ruby-forum.com/u/parki)\
**Replies:** 8\
**Last updated:** [April 9, 2006, 10:08pm UTC](https://www.ruby-forum.com/t/dumb-reflection-problem-create-object-from-string/57325 "2006-04-09T22:08:17Z")

</div>

Hello - I’m bashing my head against the wall - I’m sure this is a simple question, but damned if I can figure it out. If I have a String which corresponds to a class name, how do I create an instance of this class? E…

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

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