# Ruby

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

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

---

## [Watir and Internet Explore security settings](https://www.ruby-forum.com/t/watir-and-internet-explore-security-settings/68331)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 9:21pm UTC](https://www.ruby-forum.com/t/watir-and-internet-explore-security-settings/68331 "2006-09-11T21:21:24Z")

</div>

Hi If this is the wrong place to post questions about Watir, please let me know. Does anyone know what Internet Explorer settings need to be changed in order to run the Watir unit tests (e.g. table\_test.rb) without g…

---

## [Read from XLS and substitute values in Ruby (Watir)](https://www.ruby-forum.com/t/read-from-xls-and-substitute-values-in-ruby-watir/67936)

<div class="topic-metadata">

**Author:** [@snoops](https://www.ruby-forum.com/u/snoops)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/read-from-xls-and-substitute-values-in-ruby-watir/67936 "2006-09-11T19:35:49Z")

</div>

Hello there, I am trying to read multiple columns from an xls file and substiture those values into a text\_field Ex: My xls contains User Name password aaa abc321 bbb abc123 I need to pa…

---

## [Re: Live to\_s calls for rexml attribute](https://www.ruby-forum.com/t/re-live-to-s-calls-for-rexml-attribute/68325)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 7:14pm UTC](https://www.ruby-forum.com/t/re-live-to-s-calls-for-rexml-attribute/68325 "2006-09-11T19:14:45Z")

</div>

Another would be to subclass REXML::Element, find all the existing methods where the to\_s is invoked on attributes, and override those methods to delay the evaluation. FWIW, I found that the above doesn’t work, sinc…

---

## [Feedback on Ruby XML binding/mapping tools?](https://www.ruby-forum.com/t/feedback-on-ruby-xml-binding-mapping-tools/68220)

<div class="topic-metadata">

**Author:** [@vasudevram](https://www.ruby-forum.com/u/vasudevram)\
**Replies:** 2\
**Last updated:** [September 11, 2006, 7:00pm UTC](https://www.ruby-forum.com/t/feedback-on-ruby-xml-binding-mapping-tools/68220 "2006-09-11T19:00:43Z")

</div>

Hi group, I’d like to hear from anyone who has used any Ruby XML binding/mapping tools such as xml-mapping, xampl, etc. Pros and cons of such tools, and also pros and cons of such tools vs. handwritten code. Working …

---

## [Subscribe](https://www.ruby-forum.com/t/subscribe/68319)

<div class="topic-metadata">

**Author:** [@Ban\_Hoang](https://www.ruby-forum.com/u/Ban_Hoang)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/subscribe/68319 "2006-09-11T18:28:41Z")

</div>

subscribe

---

## [Live to\_s calls for rexml attribute](https://www.ruby-forum.com/t/live-to-s-calls-for-rexml-attribute/68317)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 6:22pm UTC](https://www.ruby-forum.com/t/live-to-s-calls-for-rexml-attribute/68317 "2006-09-11T18:22:40Z")

</div>

Summary I want an elegant way to add an object instance as an attribute of an REXML::Element, and have the result of the #to\_s method of the instance used for the value when the Element has to\_s/write called on it, NO…

---

## [Symbol tricks](https://www.ruby-forum.com/t/symbol-tricks/67901)

<div class="topic-metadata">

**Author:** [@YAD](https://www.ruby-forum.com/u/YAD)\
**Replies:** 11\
**Last updated:** [September 11, 2006, 6:12pm UTC](https://www.ruby-forum.com/t/symbol-tricks/67901 "2006-09-11T18:12:39Z")

</div>

Trying to write one function that will find a full row or column in a 2D array (for tic-tac-toe). Like this: $grid = \[\[’ ‘,’ ‘,‘O’\], \[‘X’,‘X’,‘X’\], \[‘O’,’ ‘,’ '\]\] def doAxis (outr,inr) outerLoop: \[0,1,2\].each d…

---

## [Re: Newbie syntax questions](https://www.ruby-forum.com/t/re-newbie-syntax-questions/68314)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 6:08pm UTC](https://www.ruby-forum.com/t/re-newbie-syntax-questions/68314 "2006-09-11T18:08:38Z")

</div>

Why is there an equals sign in the code “def self.run=(flag)” and what does it do? Methods can have an equals sign at the end of their name. Ruby calls these methods when you write something that LOOKS like you’re…

---

## [Heredoc with variable interpolation breaks script](https://www.ruby-forum.com/t/heredoc-with-variable-interpolation-breaks-script/68272)

<div class="topic-metadata">

**Author:** [@Oliver\_Heins](https://www.ruby-forum.com/u/Oliver_Heins)\
**Replies:** 2\
**Last updated:** [September 11, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/heredoc-with-variable-interpolation-breaks-script/68272 "2006-09-11T18:06:38Z")

</div>

\#!/usr/bin/ruby var1 = “test” var2 = \<\<EOF let us look #{test} EOF puts var2

---

## [Newbie syntax questions](https://www.ruby-forum.com/t/newbie-syntax-questions/68312)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 5:56pm UTC](https://www.ruby-forum.com/t/newbie-syntax-questions/68312 "2006-09-11T17:56:35Z")

</div>

Hi In the ‘test/unit’ library the file unit.rb contains the following code. module Test module Unit def self.run=(flag) @run = flag end def self.run? @run ||= false end end end at\_exit do unless $! || Test::…

---

## [Sun hires JRuby developers](https://www.ruby-forum.com/t/sun-hires-jruby-developers/67979)

<div class="topic-metadata">

**Author:** [@Ola\_B](https://www.ruby-forum.com/u/Ola_B)\
**Replies:** 18\
**Last updated:** [September 11, 2006, 5:16pm UTC](https://www.ruby-forum.com/t/sun-hires-jruby-developers/67979 "2006-09-11T17:16:29Z")

</div>

For those of you who haven’t seen this yet: Sun hires JRuby developers Charles O Nutter and Thomas E. with a mandate to work fulltime on JRuby and also think about developer tools for Ruby developers. This is obvious…

---

## [One Suggestion ( Re: I'm having a hard time learning ruby](https://www.ruby-forum.com/t/one-suggestion-re-im-having-a-hard-time-learning-ruby/68248)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 5:04pm UTC](https://www.ruby-forum.com/t/one-suggestion-re-im-having-a-hard-time-learning-ruby/68248 "2006-09-11T17:04:28Z")

</div>

PickAxe didn’t work for me. I’ve found “The Ruby Way” and now "Ruby Cookbook " give sme the morsel sizes I need to be productive, then I turn to either “Ruby for Rails”, “Pickaxe” or google when I have other question…

---

## [Having problems interfacing with Google Calendar API using N](https://www.ruby-forum.com/t/having-problems-interfacing-with-google-calendar-api-using-n/68254)

<div class="topic-metadata">

**Author:** [@blissdev](https://www.ruby-forum.com/u/blissdev)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 5:04pm UTC](https://www.ruby-forum.com/t/having-problems-interfacing-with-google-calendar-api-using-n/68254 "2006-09-11T17:04:28Z")

</div>

've been attempting to work on a script that would synch my iCal calendar with my google calendar. Just in an attempt to get the hang of the api, I’m trying to generate an event and then add it. I’ve got the xml gener…

---

## [Fedex shipping gem question](https://www.ruby-forum.com/t/fedex-shipping-gem-question/68304)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 4:58pm UTC](https://www.ruby-forum.com/t/fedex-shipping-gem-question/68304 "2006-09-11T16:58:25Z")

</div>

Hi, I’m using the Shipping gem (with FedEx). When I try to generate a shipping label on a Sunday (or holiday), I get a response back from FedEx saying that there’s no pickup available on a Sunday or a Holiday. Well…

---

## [OK.rb Meeting Tomorrow Evening](https://www.ruby-forum.com/t/ok-rb-meeting-tomorrow-evening/68296)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 4:40pm UTC](https://www.ruby-forum.com/t/ok-rb-meeting-tomorrow-evening/68296 "2006-09-11T16:40:26Z")

</div>

The Oklahoma Ruby U. Group will hold its quarterly meeting tomorrow at 7:00 PM. We will be in our usual location: room 104 of the Nigh University Center on the UCO campus. The presentations for this meeting are: A …

---

## [Symbol and string](https://www.ruby-forum.com/t/symbol-and-string/67561)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 32\
**Last updated:** [September 11, 2006, 3:38pm UTC](https://www.ruby-forum.com/t/symbol-and-string/67561 "2006-09-11T15:38:15Z")

</div>

open-uri e$B$Ge(B :proxy=\>nil e$B$H$$$&;XDj$r9T$&$H!"0J2\<$N$h$&$K%(%i!\<$K$J$j$^$9!#e(B % ./ruby -v -ropen-uri -e ‘open(“http://cvs.m17n.org”, :proxy=\>nil)’ ruby 1.9.0 (2006-09-05) \[i686-linux\] /home/akr/ruby/19/lib/r…

---

## [Metakit from ruby using swig](https://www.ruby-forum.com/t/metakit-from-ruby-using-swig/68275)

<div class="topic-metadata">

**Author:** [@prhlava](https://www.ruby-forum.com/u/prhlava)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/metakit-from-ruby-using-swig/68275 "2006-09-11T15:29:44Z")

</div>

i managet to make the metakit (Metakit embedded database library) work from ruby by using swig. it was my first usage of swig and the result is not “rubyish”, but the basic test works (can store and retrieve data). i…

---

## [Compare bitmaps](https://www.ruby-forum.com/t/compare-bitmaps/68287)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/compare-bitmaps/68287 "2006-09-11T14:16:08Z")

</div>

hi i am looking for libraries to compare bitmap images in png format. can it be done in ruby? seede

---

## [System stack error in Signals](https://www.ruby-forum.com/t/system-stack-error-in-signals/68289)

<div class="topic-metadata">

**Author:** [@Hemant\_S](https://www.ruby-forum.com/u/Hemant_S)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/system-stack-error-in-signals/68289 "2006-09-11T14:12:07Z")

</div>

Why following code, should cause a SystemStackError(\* after i let it run for sometime, mostly till count=8000), while the equivalent C program runs forever without any problem: count = 0 Signal.trap(“ALRM”) { p cou…

---

## [Instance\_eval](https://www.ruby-forum.com/t/instance-eval/68281)

<div class="topic-metadata">

**Author:** [@Srdjan\_M](https://www.ruby-forum.com/u/Srdjan_M)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 1:46pm UTC](https://www.ruby-forum.com/t/instance-eval/68281 "2006-09-11T13:46:04Z")

</div>

hi, I’ve got a following problem: when I do instance\_eval do class T end end (i’m doing this in irb, so self is main) everything is fine, I get a new class T. However when I do instance\_eval “class T; end” I do…

---

## [Almost ! RSA Javascript/Ruby](https://www.ruby-forum.com/t/almost-rsa-javascript-ruby/68279)

<div class="topic-metadata">

**Author:** [@jverger](https://www.ruby-forum.com/u/jverger)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 12:27pm UTC](https://www.ruby-forum.com/t/almost-rsa-javascript-ruby/68279 "2006-09-11T12:27:54Z")

</div>

Hi all, back into the RSA Javascript/Ruby: It looks that Javascript returns hex, while Ruby PKey::RSA.private\_decrypt(str) it takes bytes as argument. The little documentation I f…

---

## [Research Methodology (RE: Real World Scalability and Ruby -](https://www.ruby-forum.com/t/research-methodology-re-real-world-scalability-and-ruby/68246)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 10:35am UTC](https://www.ruby-forum.com/t/research-methodology-re-real-world-scalability-and-ruby/68246 "2006-09-11T10:35:40Z")

</div>

Actually Joseph used one of the soundest research methods I know of. He published an obviously flawed “Strawman”, didn’t pretend it was anything it wasn’t, and the wisdom of the group began fixing errors and filling i…

---

## [Public\_key in X509 format?](https://www.ruby-forum.com/t/public-key-in-x509-format/68258)

<div class="topic-metadata">

**Author:** [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 9:37am UTC](https://www.ruby-forum.com/t/public-key-in-x509-format/68258 "2006-09-11T09:37:31Z")

</div>

Hi All, Is there any way to get an RSA public key in X509 format? By default RSA pub keys are dumped out in PKCS#1 format but I really need X509. I know that the C call that’s being used to create the public key is …

---

## [Thread, external processes, and trap](https://www.ruby-forum.com/t/thread-external-processes-and-trap/68252)

<div class="topic-metadata">

**Author:** [@James\_Mills](https://www.ruby-forum.com/u/James_Mills)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 7:41am UTC](https://www.ruby-forum.com/t/thread-external-processes-and-trap/68252 "2006-09-11T07:41:17Z")

</div>

Hello list. I have what I hope is a simple newbie problem. I have a ruby program that is acting as a “controller” between a remote application and an external process. Basically the controller receives a command fro…

---

## [A fun Ruport IRB hack to create a minimal SQL client](https://www.ruby-forum.com/t/a-fun-ruport-irb-hack-to-create-a-minimal-sql-client/68250)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 7:11am UTC](https://www.ruby-forum.com/t/a-fun-ruport-irb-hack-to-create-a-minimal-sql-client/68250 "2006-09-11T07:11:14Z")

</div>

I was playing around with Ruport via IRB and I realized it can be turned into an almost usable SQL client with relative ease. Of course, there is no real practical reason to do this, but it sure is fun! :slight\_smile: …

---

## [Re: Real World Scalability and Ruby - Top 20](https://www.ruby-forum.com/t/re-real-world-scalability-and-ruby-top-20/68247)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 1\
**Last updated:** [September 11, 2006, 7:09am UTC](https://www.ruby-forum.com/t/re-real-world-scalability-and-ruby-top-20/68247 "2006-09-11T07:09:14Z")

</div>

The story I heard second hand was “in-house developed C application server backed by sh1tloads of Java”

---

## [Dynamic diagram](https://www.ruby-forum.com/t/dynamic-diagram/67577)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 4\
**Last updated:** [September 11, 2006, 5:49am UTC](https://www.ruby-forum.com/t/dynamic-diagram/67577 "2006-09-11T05:49:09Z")

</div>

Hi, I want to show a measurement value in a diagram. The problem is that the diagram should be visible, when new values are added into the diagram. There is round about one value per minute. Does anyone has some advi…

---

## [Phoenix Ruby User Group Meeting Monday, Sept 11 Reminder](https://www.ruby-forum.com/t/phoenix-ruby-user-group-meeting-monday-sept-11-reminder/68251)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 5:45am UTC](https://www.ruby-forum.com/t/phoenix-ruby-user-group-meeting-monday-sept-11-reminder/68251 "2006-09-11T05:45:09Z")

</div>

The Phoenix Ruby U. Group will hold its September meeting on Monday, September 11, 2006, at 6:15pm. The meeting will be held at facilities graciously provided by Cyclone Commerce. Please see the group site at: http:…

---

## [Ruby Virtual Machine Benchmarks?](https://www.ruby-forum.com/t/ruby-virtual-machine-benchmarks/68243)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 0\
**Last updated:** [September 11, 2006, 4:12am UTC](https://www.ruby-forum.com/t/ruby-virtual-machine-benchmarks/68243 "2006-09-11T04:12:00Z")

</div>

I’m collecting benchmarks of Ruby on various virtual machines. So far, I have my own Matrix benchmark on “stock Ruby 1.85” and a recent YARV. I made an attempt to run it with JRuby last night but I don’t think I had e…

---

## [Patching strings together to make a variable](https://www.ruby-forum.com/t/patching-strings-together-to-make-a-variable/68214)

<div class="topic-metadata">

**Author:** [@Sy\_Ali](https://www.ruby-forum.com/u/Sy_Ali)\
**Replies:** 18\
**Last updated:** [September 11, 2006, 12:13am UTC](https://www.ruby-forum.com/t/patching-strings-together-to-make-a-variable/68214 "2006-09-11T00:13:43Z")

</div>

I’m curious to know if I can patch multiple things together to make a variable. I have some imaginary code snippets. The most direct way I can think of is something like this: $a = true $var = “fail” $variable = “…

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

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