# Ruby

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

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

---

## [Resubmitting legacy RCR 161](https://www.ruby-forum.com/t/resubmitting-legacy-rcr-161/101556)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 4\
**Last updated:** [August 7, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/resubmitting-legacy-rcr-161/101556 "2006-08-07T15:39:32Z")

</div>

Some time back, RCR 161 was submitted to add a \[\]= method to the Matrix class defined in “matrix.rb”. Apparently, this was imported from an older database and needs to be resubmitted. Can “anyone” (for example, me) do…

---

## [Remote require](https://www.ruby-forum.com/t/remote-require/101246)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [August 7, 2006, 3:30pm UTC](https://www.ruby-forum.com/t/remote-require/101246 "2006-08-07T15:30:31Z")

</div>

I know there are other solutions to this out there. Just wanted to share my work/play at it. I was trying to make it reletvely secure without being too much a pain to use. This is was I arrived at. Usage looks like th…

---

## [Re: ruby-a-day: admin tip: sharing files/folder](https://www.ruby-forum.com/t/re-ruby-a-day-admin-tip-sharing-files-folder/101694)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [August 7, 2006, 2:36pm UTC](https://www.ruby-forum.com/t/re-ruby-a-day-admin-tip-sharing-files-folder/101694 "2006-08-07T14:36:27Z")

</div>

arrggh, pls ignore! was trying it send it to a local ruby group. very sorry for the noise. -botp -----Original Message----- From: Peña, Botp Sent: Monday, August 07, 2006 8:34 PM To: ‘removed\_email\_address@domain.inv…

---

## [Ruby-a-day: admin tip: sharing files/folder](https://www.ruby-forum.com/t/ruby-a-day-admin-tip-sharing-files-folder/101692)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [August 7, 2006, 2:33pm UTC](https://www.ruby-forum.com/t/ruby-a-day-admin-tip-sharing-files-folder/101692 "2006-08-07T14:33:27Z")

</div>

Hi, many times, we share files across different platforms (unix, windows, mac) and accross the net. no probs; w just ruby, you can publish your folder in a few seconds. try it like this, 1 go to the folder you want t…

---

## [AW: Few questions from a newbye](https://www.ruby-forum.com/t/aw-few-questions-from-a-newbye/101687)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 7, 2006, 1:48pm UTC](https://www.ruby-forum.com/t/aw-few-questions-from-a-newbye/101687 "2006-08-07T13:48:24Z")

</div>

Currently my main development platform is Windows, so is there any free yet powerful IDE for Ruby on Windows, with intelisense (auto-complete), debugger, etc - anything you’d expect from a good \>IDE? If not on Windo…

---

## [Rcov 0.7.0 (code coverage for Ruby)](https://www.ruby-forum.com/t/rcov-0-7-0-code-coverage-for-ruby/101375)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 8\
**Last updated:** [August 7, 2006, 1:42pm UTC](https://www.ruby-forum.com/t/rcov-0-7-0-code-coverage-for-ruby/101375 "2006-08-07T13:42:24Z")

</div>

Source code, additional information, screenshots… available at eigenclass.org Release information: eigenclass.org Sample (fully) cross-referenced report at eigenclass.org This release includes two RubyGems packages…

---

## [Re: Setting precision in Ruby-GSL calculations?](https://www.ruby-forum.com/t/re-setting-precision-in-ruby-gsl-calculations/101683)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 7, 2006, 12:57pm UTC](https://www.ruby-forum.com/t/re-setting-precision-in-ruby-gsl-calculations/101683 "2006-08-07T12:57:21Z")

</div>

Dear Yoshiki, dear Ed, thank you for your replies, over which I have been meditating for a weekend. I have tried to implement a singular value decomposition with U and V always square - and maybe of different sizes.…

---

## [Wsdl2ruby and SOAP problems](https://www.ruby-forum.com/t/wsdl2ruby-and-soap-problems/100871)

<div class="topic-metadata">

**Author:** [@emcconne](https://www.ruby-forum.com/u/emcconne)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 12:12pm UTC](https://www.ruby-forum.com/t/wsdl2ruby-and-soap-problems/100871 "2006-08-07T12:12:18Z")

</div>

I am new to Ruby and am evaluating it for a project that would replace and extend existing Perl code. I am using wsdl2ruby to generate a client stub with associated classes for a web service. Most of the basic calls…

---

## [Inject does not inject last value](https://www.ruby-forum.com/t/inject-does-not-inject-last-value/101670)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 11\
**Last updated:** [August 7, 2006, 11:42am UTC](https://www.ruby-forum.com/t/inject-does-not-inject-last-value/101670 "2006-08-07T11:42:17Z")

</div>

Hi All, inject is a powerful method in ruby. but the ff gives me surprise… irb(main):001:0\> sum=0 =\> 0 irb(main):002:0\> \[1,2,3,4,5\].inject{|sum,e| sum+e } =\> 15 irb(main):003:0\> sum =\> 10 irb(main):004:0\> irb(ma…

---

## [Superclass mismatches](https://www.ruby-forum.com/t/superclass-mismatches/101635)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 3\
**Last updated:** [August 7, 2006, 11:24am UTC](https://www.ruby-forum.com/t/superclass-mismatches/101635 "2006-08-07T11:24:13Z")

</div>

I’m sometimes seeing an error “superclass mismatch”. I have no idea what this error is. could anyone either explain it or point me to the docs (or src code)?

---

## [Gui](https://www.ruby-forum.com/t/gui/101637)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 6\
**Last updated:** [August 7, 2006, 8:26am UTC](https://www.ruby-forum.com/t/gui/101637 "2006-08-07T08:26:59Z")

</div>

Hello All, Though a lot has already been asked about GUI’s and Ruby here another question. Does anyone know of a platform independent GUI solution, which uses XML (XUL, UIML, or even XAML)? To show you some research…

---

## [Session support for SOAP client](https://www.ruby-forum.com/t/session-support-for-soap-client/100661)

<div class="topic-metadata">

**Author:** [@D.Kay](https://www.ruby-forum.com/u/D.Kay)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 8:17am UTC](https://www.ruby-forum.com/t/session-support-for-soap-client/100661 "2006-08-07T08:17:59Z")

</div>

I have a web service with 3 methods: Login, Tasks and Logout. Login() stores user\_id in session, Tasks() and Logout() checks user access level and throw exception on error. XMLRPC::Client works fine, but SOAP::WSDLDri…

---

## [Using http-access2 to get peer\_cert](https://www.ruby-forum.com/t/using-http-access2-to-get-peer-cert/100478)

<div class="topic-metadata">

**Author:** [@sutch](https://www.ruby-forum.com/u/sutch)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 7:05am UTC](https://www.ruby-forum.com/t/using-http-access2-to-get-peer-cert/100478 "2006-08-07T07:05:56Z")

</div>

Is there a way to use http-access2 to obtain the peer’s SSL certificate? I can do this with net/http: https = Net::HTTP.new(host, port) https.use\_ssl = true https.verify\_mode = OpenSSL::SSL::VERIFY\_NONE cert = nil …

---

## [Multiple output parameters in SOAP](https://www.ruby-forum.com/t/multiple-output-parameters-in-soap/100019)

<div class="topic-metadata">

**Author:** [@Jacob\_Maine](https://www.ruby-forum.com/u/Jacob_Maine)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 6:38am UTC](https://www.ruby-forum.com/t/multiple-output-parameters-in-soap/100019 "2006-08-07T06:38:55Z")

</div>

Hi all, Apologies for the cross-posting to the Rails mailing list - I looked deeper into Action Web Service and realized it probably isn’t going to do what I want. I’m trying to use soap4r to write a web service se…

---

## [Ruby DH openssl warning](https://www.ruby-forum.com/t/ruby-dh-openssl-warning/101285)

<div class="topic-metadata">

**Author:** [@katerman](https://www.ruby-forum.com/u/katerman)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 6:32am UTC](https://www.ruby-forum.com/t/ruby-dh-openssl-warning/101285 "2006-08-07T06:32:54Z")

</div>

I get the following warning when this code is run (extracted from net/https) require ‘timeout’ require ‘socket’ require ‘openssl’ s = timeout(10) { TCPSocket.open(‘mail.google.com’, ‘443’) } ssl\_context = OpenSSL::…

---

## [ZenTest 3.3.0](https://www.ruby-forum.com/t/zentest-3-3-0/100453)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 7\
**Last updated:** [August 7, 2006, 5:23am UTC](https://www.ruby-forum.com/t/zentest-3-3-0/100453 "2006-08-07T05:23:50Z")

</div>

ZenTest version 3.3.0 has been released! zentest | software projects | by ryan davis http://blog.zenspider.com/archives/zentest/ == DESCRIPTION ZenTest provides 4 different tools and 1 library: zentest, unit\_diff, a…

---

## [AIX$B$G$N%3%s%Q%$%k(B ($B%o!\<%K%s%0$NM^@)(B)](https://www.ruby-forum.com/t/aix-b-g-n-3-s-q-k-b-b-o-k-s-0-nm-b/101606)

<div class="topic-metadata">

**Author:** [@Yutaka\_K](https://www.ruby-forum.com/u/Yutaka_K)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 4:50am UTC](https://www.ruby-forum.com/t/aix-b-g-n-3-s-q-k-b-b-o-k-s-0-nm-b/101606 "2006-08-07T04:50:48Z")

</div>

é??æ?¬ã¨ã??ã?ã?ã¾ã?ã?? ã?ã³ã?ã³ã?ã¿ã¾ã?ã??ã?? ç¾å?¨ã?AIXã§ã?ã?³ã?³ã??ã?¤ã?«ã®ã?ã³ã«#pragma allocaã¨ã?ã?ã??ã®ã«å¯¾ã?ã¦ã?¯ã?¼ã??ã?³ã?°ã?å?ºã¦ã?ã¾ã?ã¾ã?ã?? æ·»ä»?ã®ã??ã??ã?ã§æ??ã?ã?…

---

## [RubyPhone project updated](https://www.ruby-forum.com/t/rubyphone-project-updated/101646)

<div class="topic-metadata">

**Author:** [@gregarican](https://www.ruby-forum.com/u/gregarican)\
**Replies:** 0\
**Last updated:** [August 7, 2006, 4:17am UTC](https://www.ruby-forum.com/t/rubyphone-project-updated/101646 "2006-08-07T04:17:45Z")

</div>

The RubyPhone project hosted on RubyForge (http://rubyforge.org/projects/tsapi/) has been updated. This project ports the TSAPI (Telephony Services API) library to Ruby so you can create CTI applications using the pow…

---

## [How to redirect a string to stdin within code?](https://www.ruby-forum.com/t/how-to-redirect-a-string-to-stdin-within-code/101545)

<div class="topic-metadata">

**Author:** [@Christian\_Seifert](https://www.ruby-forum.com/u/Christian_Seifert)\
**Replies:** 7\
**Last updated:** [August 7, 2006, 3:41am UTC](https://www.ruby-forum.com/t/how-to-redirect-a-string-to-stdin-within-code/101545 "2006-08-07T03:41:45Z")

</div>

Hello all, I am trying to create a unit test for a class that reads input from stdin (ie. the user enters his name when starting the class). I would like to write a unit test that provides the input via a string. so…

---

## [Issue with regex](https://www.ruby-forum.com/t/issue-with-regex/101639)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 7, 2006, 3:26am UTC](https://www.ruby-forum.com/t/issue-with-regex/101639 "2006-08-07T03:26:45Z")

</div>

I have a string When i use the Regulator to create a regex it matches. my sample is “http(.)+\[”\] It returns “StockCharts.com”\> However when i use ruby, it returns When i use ruby with syntax a.scan(/“http(.)+\[…

---

## [Singleton methods with method\_missing](https://www.ruby-forum.com/t/singleton-methods-with-method-missing/101617)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 4\
**Last updated:** [August 7, 2006, 3:23am UTC](https://www.ruby-forum.com/t/singleton-methods-with-method-missing/101617 "2006-08-07T03:23:44Z")

</div>

I don’t have any practical use for this, but I was experimenting a bit. I just want to create singleton methods on objects of this class. There’s more to come, but this is the part I’m stuck at :slight\_smile: This cod…

---

## [Method behaviour](https://www.ruby-forum.com/t/method-behaviour/101627)

<div class="topic-metadata">

**Author:** [@sard](https://www.ruby-forum.com/u/sard)\
**Replies:** 4\
**Last updated:** [August 7, 2006, 3:20am UTC](https://www.ruby-forum.com/t/method-behaviour/101627 "2006-08-07T03:20:44Z")

</div>

Some methods like def change(word) word\[0\]=‘e’ end a=“affluent” puts a change(a) puts a alter the original object outside of the method, where as others don’t. def change(word) word=“fish” end a=“cow” puts a …

---

## [Re: Drb / ActiveRecord as Application Server for Qt/Ruby cli](https://www.ruby-forum.com/t/re-drb-activerecord-as-application-server-for-qt-ruby-cli/101576)

<div class="topic-metadata">

**Author:** [@philpraxis](https://www.ruby-forum.com/u/philpraxis)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 12:56am UTC](https://www.ruby-forum.com/t/re-drb-activerecord-as-application-server-for-qt-ruby-cli/101576 "2006-08-07T00:56:39Z")

</div>

Pau Garcia i Quiles wrote: Rails stack in and use REST, XML-RPC or SOAP? this is described here: independent applications (the Korundum app and the XML-RPC/EventMachine/whatever listener) and have them communicate…

---

## [Ruby Newbie: Simple C Wrappers?](https://www.ruby-forum.com/t/ruby-newbie-simple-c-wrappers/101609)

<div class="topic-metadata">

**Author:** [@Cooper\_Stevenson](https://www.ruby-forum.com/u/Cooper_Stevenson)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 12:08am UTC](https://www.ruby-forum.com/t/ruby-newbie-simple-c-wrappers/101609 "2006-08-07T00:08:35Z")

</div>

Hello, My apologies if this has already been discussed in detail on the list but I’ve been working with the Pragmatics an O’Rielly’s for some time now and I think it’s time to call for a ‘help.’ I would like to inter…

---

## [Reloading required modules in irb](https://www.ruby-forum.com/t/reloading-required-modules-in-irb/101591)

<div class="topic-metadata">

**Author:** [@zwaan](https://www.ruby-forum.com/u/zwaan)\
**Replies:** 2\
**Last updated:** [August 6, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/reloading-required-modules-in-irb/101591 "2006-08-06T23:17:29Z")

</div>

Hi, I use irb to evaluate my code while programming. So it is easy to test my class this way: require “my\_class” c = MyClass.new c.some\_method But the problem occurs when I now edit the class adding a new method …

---

## [Iterating over an array n element at a time](https://www.ruby-forum.com/t/iterating-over-an-array-n-element-at-a-time/101532)

<div class="topic-metadata">

**Author:** [@kimpastro](https://www.ruby-forum.com/u/kimpastro)\
**Replies:** 20\
**Last updated:** [August 6, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/iterating-over-an-array-n-element-at-a-time/101532 "2006-08-06T23:14:28Z")

</div>

Is there an elegant way to iterate over an array n elements at a time? e.g. something like… a = \[1,1,1,2,2,2,3,3,3\] a.each(3) do |x,y,z| print x,y,z,"\\n" end prints… 111 222 333 //kim

---

## [Irc+vpn+smth](https://www.ruby-forum.com/t/irc-vpn-smth/101629)

<div class="topic-metadata">

**Author:** [@innu](https://www.ruby-forum.com/u/innu)\
**Replies:** 0\
**Last updated:** [August 6, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/irc-vpn-smth/101629 "2006-08-06T22:46:29Z")

</div>

I haven’t never programming anything with gui. Just have doing 2 years web developing. We have WC3: dota community. Right now, there is: User comes to irc, talks with admin/s, and if his not some kind of banevader, h…

---

## [DBI/DBD for MySQL](https://www.ruby-forum.com/t/dbi-dbd-for-mysql/101584)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 4\
**Last updated:** [August 6, 2006, 10:14pm UTC](https://www.ruby-forum.com/t/dbi-dbd-for-mysql/101584 "2006-08-06T22:14:23Z")

</div>

Hi there, I am a bit confused about the installation for DBI/DBD. Is the default build/install of Ruby 1.8.4 not including the DBI module? If no: Is there no Gem available for DBI? Is the MySQL DBD not part of the Wi…

---

## [Why Thread.pass is so slow?](https://www.ruby-forum.com/t/why-thread-pass-is-so-slow/101561)

<div class="topic-metadata">

**Author:** [@gh198319](https://www.ruby-forum.com/u/gh198319)\
**Replies:** 2\
**Last updated:** [August 6, 2006, 9:05pm UTC](https://www.ruby-forum.com/t/why-thread-pass-is-so-slow/101561 "2006-08-06T21:05:17Z")

</div>

Hi, I’m absolutely new to Ruby, but one thing I found strange is that thread.pass takes a very long time compare to sched\_yield in C. Does any one know why is that?

---

## [Need a pointer with RAGI and asterisk](https://www.ruby-forum.com/t/need-a-pointer-with-ragi-and-asterisk/101618)

<div class="topic-metadata">

**Author:** [@shawn\_bright](https://www.ruby-forum.com/u/shawn_bright)\
**Replies:** 0\
**Last updated:** [August 6, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/need-a-pointer-with-ragi-and-asterisk/101618 "2006-08-06T20:35:15Z")

</div>

Hello there all. i just got started with ruby. i got the pickaxe book from amazon yesterday. The main reason i got into ruby was for RAGI ( the asterisk api ). From the tutorials, there is a lot of emphesis on using…

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

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