# Ruby

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

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

---

## [Google Checkout Pointers](https://www.ruby-forum.com/t/google-checkout-pointers/97600)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 0\
**Last updated:** [July 8, 2006, 6:31pm UTC](https://www.ruby-forum.com/t/google-checkout-pointers/97600 "2006-07-08T18:31:10Z")

</div>

I have a nearly complete site using ruby on rails and need to integrate either paypal or google checkout as one of the final steps. I have to honest I’ve never worked with an API before. I have everythign boiled down …

---

## [Float#==. Legacy?](https://www.ruby-forum.com/t/float-legacy/97370)

<div class="topic-metadata">

**Author:** [@giom](https://www.ruby-forum.com/u/giom)\
**Replies:** 14\
**Last updated:** [July 8, 2006, 8:28am UTC](https://www.ruby-forum.com/t/float-legacy/97370 "2006-07-08T08:28:20Z")

</div>

As far as my experience goes, using Float#== is always an error. Float should be compared within epsilon because of errors, etc. etc. But the question is: why keep Float#== if it is basically useless? Why not have Flo…

---

## [Multi-dimensional arrays](https://www.ruby-forum.com/t/multi-dimensional-arrays/97533)

<div class="topic-metadata">

**Author:** [@gsiener](https://www.ruby-forum.com/u/gsiener)\
**Replies:** 2\
**Last updated:** [July 8, 2006, 6:57am UTC](https://www.ruby-forum.com/t/multi-dimensional-arrays/97533 "2006-07-08T06:57:11Z")

</div>

Hi, I have just started programming with Ruby and have run into the following problem. I’m trying to work with 3 dimensional arrays and have run into a problem dimensioning the array. a = \[\[\[\]\]\] a\[0\]\[0\] = \[ 0,1,2,…

---

## [Libxml Node#find gives 'wrong argument type nil (expected Da](https://www.ruby-forum.com/t/libxml-node-find-gives-wrong-argument-type-nil-expected-da/97583)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 8, 2006, 5:49am UTC](https://www.ruby-forum.com/t/libxml-node-find-gives-wrong-argument-type-nil-expected-da/97583 "2006-07-08T05:49:38Z")

</div>

Sigh, p xpath #=\> “//\*\[@id=‘table\_name’\]” p node #=\> matches = node.find( xpath ) xparse.rb:47:in \`find’: wrong argument type nil (expected Data) (TypeError) It occurs in a loop on a copied node to be exact. Any …

---

## [Ruby-debug 0.1](https://www.ruby-forum.com/t/ruby-debug-0-1/97582)

<div class="topic-metadata">

**Author:** [@kent](https://www.ruby-forum.com/u/kent)\
**Replies:** 0\
**Last updated:** [July 8, 2006, 4:45am UTC](https://www.ruby-forum.com/t/ruby-debug-0-1/97582 "2006-07-08T04:45:27Z")

</div>

I’ve been watching a ‘debugging proposal’ thread and eventually started playing with the idea of porting debug.rb to use a new event tracing API. You can find the first version of ruby-debug extension here: Beware t…

---

## [Trouble with mod\_eval](https://www.ruby-forum.com/t/trouble-with-mod-eval/97576)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 8, 2006, 3:30am UTC](https://www.ruby-forum.com/t/trouble-with-mod-eval/97576 "2006-07-08T03:30:11Z")

</div>

I have installed Ruby upon OS X recently and I am working on a small script just to test out some new techniques and trying to learn some new languages. Currently I am trying to work out a little code to develop new …

---

## [Protecting Ruby Code as Intellectual Property](https://www.ruby-forum.com/t/protecting-ruby-code-as-intellectual-property/63979)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 4\
**Last updated:** [July 8, 2006, 2:38am UTC](https://www.ruby-forum.com/t/protecting-ruby-code-as-intellectual-property/63979 "2006-07-08T02:38:29Z")

</div>

Good People, Short of removing all whitespace and running one’s script a single block of text, how can one protect one’s code as intellectual property in, say, a commercial environment? Is there a means to hide or pr…

---

## [Debugging proposal](https://www.ruby-forum.com/t/debugging-proposal/97284)

<div class="topic-metadata">

**Author:** [@fangheuschrecke](https://www.ruby-forum.com/u/fangheuschrecke)\
**Replies:** 12\
**Last updated:** [July 8, 2006, 2:07am UTC](https://www.ruby-forum.com/t/debugging-proposal/97284 "2006-07-08T02:07:28Z")

</div>

Hi everybody, First up, I’m new to this list and to Ruby. Let me express my gratitude to Matz (and others) for creating such a wonderful programming environment. I have only been playing with Ruby for about a week, an…

---

## [What's up w/this group now that the gateway is back?](https://www.ruby-forum.com/t/whats-up-w-this-group-now-that-the-gateway-is-back/97560)

<div class="topic-metadata">

**Author:** [@Kenosis](https://www.ruby-forum.com/u/Kenosis)\
**Replies:** 5\
**Last updated:** [July 8, 2006, 12:13am UTC](https://www.ruby-forum.com/t/whats-up-w-this-group-now-that-the-gateway-is-back/97560 "2006-07-08T00:13:08Z")

</div>

We keep getting answers to posts but not the original post. Is there any way to correct for this? I certainly learn more from answers to questions, than just answers or thank you postings. :slight\_smile: Ken

---

## [Re: text to speech?](https://www.ruby-forum.com/t/re-text-to-speech/97562)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 11:39pm UTC](https://www.ruby-forum.com/t/re-text-to-speech/97562 "2006-07-07T23:39:02Z")

</div>

Thanks for the kind words. Yes, the main, editor-specific source code is in (default installation) C:\\Program Files\\TextPal\\TextPal.rbw Some Ruby libraries the application calls are in the same folder, similarly hav…

---

## [Question : Pickaxe example](https://www.ruby-forum.com/t/question-pickaxe-example/97497)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 10:22pm UTC](https://www.ruby-forum.com/t/question-pickaxe-example/97497 "2006-07-07T22:22:32Z")

</div>

I’m reading through part 1, blocks and iterators section. Lots to digest here :slight\_smile: Anyway, there is discussion about implementing a search for songs, called ‘with\_title’ Even though the first code example …

---

## [Gen. Row objects from tab-delim text lines](https://www.ruby-forum.com/t/gen-row-objects-from-tab-delim-text-lines/97558)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 10:03pm UTC](https://www.ruby-forum.com/t/gen-row-objects-from-tab-delim-text-lines/97558 "2006-07-07T22:03:17Z")

</div>

This is nothing ground-breaking, but I thought I’d share it anyway. It was a fun little exercise, and I’ve found it pretty useful. RowParser.parse takes a String (or will read in an IO), assumes it’s \\n- and \\t-delim…

---

## [Script to visit a page](https://www.ruby-forum.com/t/script-to-visit-a-page/97556)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/script-to-visit-a-page/97556 "2006-07-07T21:43:37Z")

</div>

I am pretty new to scripting in general and ruby and rails in particular. I need to visit a list of URLs and grep for a certain word on those pages. How would I go about doing this in Ruby? Would appreciate some poin…

---

## [Gateway Restored](https://www.ruby-forum.com/t/gateway-restored/97512)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 9\
**Last updated:** [July 7, 2006, 9:20pm UTC](https://www.ruby-forum.com/t/gateway-restored/97512 "2006-07-07T21:20:39Z")

</div>

Welcome back friends from the other side! We believe we have a working gateway between mailing list and newsgroup once again. Please let me know if you notice any missing messages. We need to thank: Dave T. who wr…

---

## [Variable Trace Library -- request for comments](https://www.ruby-forum.com/t/variable-trace-library-request-for-comments/97552)

<div class="topic-metadata">

**Author:** [@Dylan\_LSCurley](https://www.ruby-forum.com/u/Dylan_LSCurley)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 9:17pm UTC](https://www.ruby-forum.com/t/variable-trace-library-request-for-comments/97552 "2006-07-07T21:17:13Z")

</div>

Hi folks. The only gripe I’ve had with ruby is the inability to trace variables (other than globals of course). So I’ve written some code to do this. I would really like to hear any comments/advice/suggestions: http:/…

---

## [Newbie Q why doesn't this NEXT work](https://www.ruby-forum.com/t/newbie-q-why-doesnt-this-next-work/97522)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/newbie-q-why-doesnt-this-next-work/97522 "2006-07-07T20:44:59Z")

</div>

the data: -17780 51697-62657 51697-62651 date: 2453507 \<\< good data error in data file: -17737,147401-93780 147401-93780,147401-93780,12/28/2004 ruby code: cppewq=\[\] CSV.open(“neat.txt”,“r”) do |row| hh=row\[3\] h…

---

## [Re: Gateway Restored](https://www.ruby-forum.com/t/re-gateway-restored/97541)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 8:35pm UTC](https://www.ruby-forum.com/t/re-gateway-restored/97541 "2006-07-07T20:35:56Z")

</div>

essentially “we don’t need no stinking gateway”, "let the two T. I think there were only a handful of people who felt that way. Most of us wanted the gateway back, if for no other reason that to have a single searc…

---

## [Ri-emacs problem](https://www.ruby-forum.com/t/ri-emacs-problem/97536)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/ri-emacs-problem/97536 "2006-07-07T19:37:23Z")

</div>

Hi, I’m a user of your ri-emacs. I knew it’s very cool but unfortunately I can not make it on may machine. I use emacs 21.2.1 on winxp and I have done the necessary configuration in my .emacs file: (setq ri-ruby-scri…

---

## [Problem with http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ru](https://www.ruby-forum.com/t/problem-with-http-blade-nagaokaut-ac-jp-cgi-bin-scat-rb-ru/97508)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/problem-with-http-blade-nagaokaut-ac-jp-cgi-bin-scat-rb-ru/97508 "2006-07-07T19:04:10Z")

</div>

Hi, There seems to be a problem with the web interface to ruby-talk at http://blade.nagaokaut.ac.jp/. For example, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/1 returns an email from Robert K. dated …

---

## [\[ANN\] RubySlim - Ruby SlimServer API](https://www.ruby-forum.com/t/ann-rubyslim-ruby-slimserver-api/97530)

<div class="topic-metadata">

**Author:** [@lukeredpath](https://www.ruby-forum.com/u/lukeredpath)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 7:01pm UTC](https://www.ruby-forum.com/t/ann-rubyslim-ruby-slimserver-api/97530 "2006-07-07T19:01:50Z")

</div>

This is an initial release of the Ruby SlimServer API - it uses the SlimServer CLI API to communicate with the SlimServer and connected devices. There is currently not documentation and the API is not fully implement…

---

## [FUNC\_CDECL/FUNC\_STDCALL are not defined?](https://www.ruby-forum.com/t/func-cdecl-func-stdcall-are-not-defined/96917)

<div class="topic-metadata">

**Author:** [@KIMURA\_Koichi](https://www.ruby-forum.com/u/KIMURA_Koichi)\
**Replies:** 23\
**Last updated:** [July 7, 2006, 7:01pm UTC](https://www.ruby-forum.com/t/func-cdecl-func-stdcall-are-not-defined/96917 "2006-07-07T19:01:10Z")

</div>

e$BLZB\<$G$9!#e(B 1.8.5-preview1e$B$NOCBj$K3d$j9~$\`7A$G?=$7Lu$"$j$^$;$s$,!"$5$-$\[$Ie(B CVS HEAD e$B$N%3%s%Q%$%k$r;n$\_$?$H$3$me(B(VC++ 7.1 Windows 2000SP4)e$B!"e(B ext/dl e$B$N%3%s%Q%$%k$Ge(Bcallback.he$B$K4X$7$FBgNL$…

---

## [Hyphens in variable names](https://www.ruby-forum.com/t/hyphens-in-variable-names/97518)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [July 7, 2006, 6:47pm UTC](https://www.ruby-forum.com/t/hyphens-in-variable-names/97518 "2006-07-07T18:47:54Z")

</div>

Hello, I am new to Ruby and have an issue with a xmlsimple object resulting from a 3rd party webservice. The xml has nodes that have hyphens (-) in the names. When I try to access various hashes using the object vari…

---

## [Where to find Ruby code idiom, is there a style guideline](https://www.ruby-forum.com/t/where-to-find-ruby-code-idiom-is-there-a-style-guideline/96608)

<div class="topic-metadata">

**Author:** [@uncutstone](https://www.ruby-forum.com/u/uncutstone)\
**Replies:** 13\
**Last updated:** [July 7, 2006, 5:51pm UTC](https://www.ruby-forum.com/t/where-to-find-ruby-code-idiom-is-there-a-style-guideline/96608 "2006-07-07T17:51:10Z")

</div>

As ruby popularity growing, more and more newbie programmer need a way to improve their ruby ability effectively. Reading examplar code should be a good way to achieve that goal. Are there somebody collecting and clea…

---

## [URI.escape() broken or misdocumented in Ruby 1.8.4?](https://www.ruby-forum.com/t/uri-escape-broken-or-misdocumented-in-ruby-1-8-4/97433)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 2\
**Last updated:** [July 7, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/uri-escape-broken-or-misdocumented-in-ruby-1-8-4/97433 "2006-07-07T17:17:32Z")

</div>

I posted this in the Ruby On Rails forum a moment ago because of other URI.escape() related messages there, but really it’s a Ruby thing, not a Rails thing, so it belongs in the Ruby forum. Thus, a repost …

---

## [Quick metaprogramming question: collecting arguments across](https://www.ruby-forum.com/t/quick-metaprogramming-question-collecting-arguments-across/97435)

<div class="topic-metadata">

**Author:** [@trucker](https://www.ruby-forum.com/u/trucker)\
**Replies:** 7\
**Last updated:** [July 7, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/quick-metaprogramming-question-collecting-arguments-across/97435 "2006-07-07T17:07:13Z")

</div>

Hi all, Quick question: is there a better way to write Foo.contains below? Forcing the lexical scoping like this feels wrong. class Foo def self.contains \*o @contents ||= \[\] @contents += o contents = @contents de…

---

## [Ruby Compiler(s) and](https://www.ruby-forum.com/t/ruby-compiler-s-and/97511)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 7, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/ruby-compiler-s-and/97511 "2006-07-07T17:06:46Z")

</div>

This topic has been discussed before on this list, however the replies are disabled (age). New to Ruby, I am curious whether future versions of the language may support storing byte-compiled versions of code, similar …

---

## [net/pop$B$H(Bnet/smtp$B$N(BSSL$BBP1~(B](https://www.ruby-forum.com/t/net-pop-b-h-bnet-smtp-b-n-bssl-bbp1-b/97513)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 0\
**Last updated:** [July 7, 2006, 4:56pm UTC](https://www.ruby-forum.com/t/net-pop-b-h-bnet-smtp-b-n-bssl-bbp1-b/97513 "2006-07-07T16:56:14Z")

</div>

e$B@\>;3OB9-$G$9!#e(B net/pope$B$He(Bnet/smtpe$B$Ne(BSSLe$BBP1~$re(B1.8e$B$K$be(Bbackporte$B$7$F$\[$7$$$G$9!#e(B 1.9e$B$G!“e(Bnet/pope$B$Oe(BPOP3 over SSLe$B$N$$G!"e(Bnet/smtpe$B$Oe(BSTARTTLSe$B$N$$Ke(B e$BBP1~$7$F$$$k…

---

## [Re: - background color problem for FXCombobox](https://www.ruby-forum.com/t/re-background-color-problem-for-fxcombobox/97510)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 7, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/re-background-color-problem-for-fxcombobox/97510 "2006-07-07T16:35:54Z")

</div>

Dear Lyle, as you suggested, I’ve now upgraded to FXRuby 1.6.0 (thanks to the Windows one-click installer team, that was easy). I found an FXTextfield and an FXMenuButton as children of FXComboBox, and there is a …

---

## [Ruby-termios](https://www.ruby-forum.com/t/ruby-termios/97422)

<div class="topic-metadata">

**Author:** [@Thorsten\_H](https://www.ruby-forum.com/u/Thorsten_H)\
**Replies:** 1\
**Last updated:** [July 7, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/ruby-termios/97422 "2006-07-07T14:18:16Z")

</div>

Hi, I wrote a program on Linux using ruby-termios which was supposed to run on Solaris 9. Short description: It doesn’t. Long description: I use ruby-termios to change some terminal settings for my simple user inte…

---

## [Something wrong with rubygarden?](https://www.ruby-forum.com/t/something-wrong-with-rubygarden/97418)

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 1\
**Last updated:** [July 7, 2006, 1:33pm UTC](https://www.ruby-forum.com/t/something-wrong-with-rubygarden/97418 "2006-07-07T13:33:18Z")

</div>

Hi folks, I hope this is the right place to post this message- I’m trying to search the rubygarden wiki and I keep getting errors like, “We are unable to find page ‘search=emacs&dosearch=1&submit=Search’.” Url is T…

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

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