# Ruby

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

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

---

## [Fwd: cat2rafb (#77)](https://www.ruby-forum.com/t/fwd-cat2rafb-77/59304)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/fwd-cat2rafb-77/59304 "2006-05-03T18:56:29Z")

</div>

Begin forwarded message:

---

## [Beta Ruby bindings for Xapian available](https://www.ruby-forum.com/t/beta-ruby-bindings-for-xapian-available/58676)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 5\
**Last updated:** [May 3, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/beta-ruby-bindings-for-xapian-available/58676 "2006-05-03T18:56:23Z")

</div>

Dear Ruby-talk, I am pleased to announce that beta-quality Ruby bindings for Xapian are now available. Xapian is a powerful open source full text search engine written in C++ (http://www.xapian.org/). The latest vers…

---

## [Problem with MODULO function?](https://www.ruby-forum.com/t/problem-with-modulo-function/59289)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 1\
**Last updated:** [May 3, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/problem-with-modulo-function/59289 "2006-05-03T15:19:44Z")

</div>

The results of my little script here confuse me. I looking for an odd number of pages in postscript files. When it’s an odd number, I add a blank, to make an even page count. In my test here, I’ve got 2 test postscrip…

---

## [Ruby fails to parse wsdl](https://www.ruby-forum.com/t/ruby-fails-to-parse-wsdl/59240)

<div class="topic-metadata">

**Author:** [@sdetheridge](https://www.ruby-forum.com/u/sdetheridge)\
**Replies:** 1\
**Last updated:** [May 2, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/ruby-fails-to-parse-wsdl/59240 "2006-05-02T14:27:54Z")

</div>

I posted this to ruby-talk but I got no reply, so I’m posting here. Sorry… If anyone knows a better place to post it, please let me know. I think it’s a bug, but can’t find a bug tracker on ruby-lang.org… I’m trying t…

---

## [Module.private like method](https://www.ruby-forum.com/t/module-private-like-method/58796)

<div class="topic-metadata">

**Author:** [@polypus](https://www.ruby-forum.com/u/polypus)\
**Replies:** 4\
**Last updated:** [May 2, 2006, 12:05am UTC](https://www.ruby-forum.com/t/module-private-like-method/58796 "2006-05-02T00:05:40Z")

</div>

i want to make a class method similar to Module.private in that it should affect subsequent instance method defentions. class Foo def self.rule name # code such that all subsequent instance methods # defined in subc…

---

## [GetText.update\_pofiles: seeking help with error message](https://www.ruby-forum.com/t/gettext-update-pofiles-seeking-help-with-error-message/94347)

<div class="topic-metadata">

**Author:** [@rapha](https://www.ruby-forum.com/u/rapha)\
**Replies:** 1\
**Last updated:** [May 1, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/gettext-update-pofiles-seeking-help-with-error-message/94347 "2006-05-01T14:18:13Z")

</div>

Hi all! Following the guide at Peak Obsession, I’m trying to i18n a Rails application. However, when executing ‘rake updatepo’, I get the following error message: "numeric literal without digits" Searching Google an…

---

## [GetText.update\_pofiles: seeking help with error message](https://www.ruby-forum.com/t/gettext-update-pofiles-seeking-help-with-error-message/59199)

<div class="topic-metadata">

**Author:** [@rapha](https://www.ruby-forum.com/u/rapha)\
**Replies:** 0\
**Last updated:** [May 1, 2006, 2:13pm UTC](https://www.ruby-forum.com/t/gettext-update-pofiles-seeking-help-with-error-message/59199 "2006-05-01T14:13:57Z")

</div>

Hi all! Following the guide at Peak Obsession, I’m trying to i18n a Rails application. However, when executing ‘rake updatepo’, I get the following error message: "numeric literal without digits" Searching Google an…

---

## [Bay Cities Ruby Group](https://www.ruby-forum.com/t/bay-cities-ruby-group/59193)

<div class="topic-metadata">

**Author:** [@mitchellh](https://www.ruby-forum.com/u/mitchellh)\
**Replies:** 0\
**Last updated:** [May 1, 2006, 5:51am UTC](https://www.ruby-forum.com/t/bay-cities-ruby-group/59193 "2006-05-01T05:51:02Z")

</div>

Hello, Seeing that the nearest Ruby U. Groups around me are at least an hour away, I am trying to set up a bay cities (of california) ruby user group. This would include the cities of Torrance, Redondo Beach, Manhatt…

---

## [.rhtml from .cgi](https://www.ruby-forum.com/t/rhtml-from-cgi/59164)

<div class="topic-metadata">

**Author:** [@psyche](https://www.ruby-forum.com/u/psyche)\
**Replies:** 3\
**Last updated:** [April 29, 2006, 5:34pm UTC](https://www.ruby-forum.com/t/rhtml-from-cgi/59164 "2006-04-29T17:34:32Z")

</div>

Greetz! How to render .rhtml page from a Ruby .cgi file? I mean, there are: — index.cgi — #!/usr/bin/ruby puts “Content-type: text/html\\n” WHAT\_GOES\_HERE? ‘mypage.rhtml’ and: — mypage.rhtml — The time is: \<%=Time…

---

## [Class returns value without method or attribute](https://www.ruby-forum.com/t/class-returns-value-without-method-or-attribute/59091)

<div class="topic-metadata">

**Author:** [@kris](https://www.ruby-forum.com/u/kris)\
**Replies:** 6\
**Last updated:** [April 29, 2006, 11:52am UTC](https://www.ruby-forum.com/t/class-returns-value-without-method-or-attribute/59091 "2006-04-29T11:52:03Z")

</div>

If I have a class how do I get it to return a value without specifying a method or attribute: class Money attr\_writer :value end money = Money.new(5) money.value =\> 5 but what if I want: money =\> 5 So the actual…

---

## [Ruby Size](https://www.ruby-forum.com/t/ruby-size/94293)

<div class="topic-metadata">

**Author:** [@kuppas](https://www.ruby-forum.com/u/kuppas)\
**Replies:** 3\
**Last updated:** [April 29, 2006, 3:47am UTC](https://www.ruby-forum.com/t/ruby-size/94293 "2006-04-29T03:47:18Z")

</div>

What would be the smallest ruby size? While building the ruby, a miniruby also build and it’s size is 1.6MB? Can we build a ruby less than 1 MB? -Kuppa

---

## [Ruby Drops](https://www.ruby-forum.com/t/ruby-drops/94286)

<div class="topic-metadata">

**Author:** [@Jake\_McArthur](https://www.ruby-forum.com/u/Jake_McArthur)\
**Replies:** 26\
**Last updated:** [April 29, 2006, 3:47am UTC](https://www.ruby-forum.com/t/ruby-drops/94286 "2006-04-29T03:47:12Z")

</div>

This is the idea I am thinking of proposing for my Google Summer of Code project. This is from the Google Summer of Code thread: factoring code out of their projects which they can all share. accordingly if they desi…

---

## [RubyCLR is now up on RubyForge](https://www.ruby-forum.com/t/rubyclr-is-now-up-on-rubyforge/59150)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 0\
**Last updated:** [April 29, 2006, 3:01am UTC](https://www.ruby-forum.com/t/rubyclr-is-now-up-on-rubyforge/59150 "2006-04-29T03:01:52Z")

</div>

The project page is http://rubyforge.org/projects/rubyclr. So folks can now play with the daily builds and features that were added since Drop 3. Inlining of C#, VB.NET and JScript.NET code Implementation of non-gene…

---

## [Ruby Reports 0.4.0 Released!](https://www.ruby-forum.com/t/ruby-reports-0-4-0-released/59147)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [April 29, 2006, 2:01am UTC](https://www.ruby-forum.com/t/ruby-reports-0-4-0-released/59147 "2006-04-29T02:01:10Z")

</div>

= Ruby Reports 0.4.0: The “Less than 100% API change” Release == What is Ruby Reports (Ruport) ? Ruby Reports is a software library that aims to make the task of reporting less tedious and painful. It provides tools…

---

## [Ruby is the stuff Gems are made of](https://www.ruby-forum.com/t/ruby-is-the-stuff-gems-are-made-of/59098)

<div class="topic-metadata">

**Author:** [@guest](https://www.ruby-forum.com/u/guest)\
**Replies:** 6\
**Last updated:** [April 29, 2006, 1:54am UTC](https://www.ruby-forum.com/t/ruby-is-the-stuff-gems-are-made-of/59098 "2006-04-29T01:54:59Z")

</div>

Ruby is productive fun.

---

## [Where is the old irb-tools's rtags.rb, or another decent tag](https://www.ruby-forum.com/t/where-is-the-old-irb-toolss-rtags-rb-or-another-decent-tag/59145)

<div class="topic-metadata">

**Author:** [@samrus](https://www.ruby-forum.com/u/samrus)\
**Replies:** 0\
**Last updated:** [April 29, 2006, 1:42am UTC](https://www.ruby-forum.com/t/where-is-the-old-irb-toolss-rtags-rb-or-another-decent-tag/59145 "2006-04-29T01:42:56Z")

</div>

I’m looking for tagging of constants, classes, modules, and methods, and particularly for qualified tags (so MyClass#to\_s and YourClass#to\_s are different tags). I know about the rtags reference in the Pickaxe books, …

---

## [Ruby-VPI 0.4 released](https://www.ruby-forum.com/t/ruby-vpi-0-4-released/59141)

<div class="topic-metadata">

**Author:** [@Suraj\_NSKurapati](https://www.ruby-forum.com/u/Suraj_NSKurapati)\
**Replies:** 0\
**Last updated:** [April 29, 2006, 1:18am UTC](https://www.ruby-forum.com/t/ruby-vpi-0-4-released/59141 "2006-04-29T01:18:43Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ruby-VPI is a Ruby interface to Verilog VPI. With it, you can create complex Verilog test benches easily and wholly in Ruby. http://ruby-vpi.rubyforge.org/ = Version 0.4…

---

## [Counting words](https://www.ruby-forum.com/t/counting-words/94323)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 7\
**Last updated:** [April 28, 2006, 11:10pm UTC](https://www.ruby-forum.com/t/counting-words/94323 "2006-04-28T23:10:57Z")

</div>

I’ve research this but am still having trouble getting it right … Can someone give me code that counts the number of words in a string via RegExp and MatchData objects? I think I’d like a word to be defined as contig…

---

## [Unsubscription](https://www.ruby-forum.com/t/unsubscription/94305)

<div class="topic-metadata">

**Author:** [@ric\_shar](https://www.ruby-forum.com/u/ric_shar)\
**Replies:** 1\
**Last updated:** [April 28, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/unsubscription/94305 "2006-04-28T20:52:34Z")

</div>

kindly unsubscribe me from this group regards ric regards richa Yahoo! India Matrimony: Find your partner now. Go to

---

## [Regex loop yields single element array for multiple finds:](https://www.ruby-forum.com/t/regex-loop-yields-single-element-array-for-multiple-finds/94324)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 0\
**Last updated:** [April 28, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/regex-loop-yields-single-element-array-for-multiple-finds/94324 "2006-04-28T20:15:31Z")

</div>

Okay, my string has a parenthesized section, and that is doing it: markup.scan(/@@@.?(@@@).?@@@/) do |ats| puts ats.length puts ats.class end is a closer to what I’ve got. My apologies. So, it looks like whenever …

---

## [Regex loop yields single element array for multiple finds](https://www.ruby-forum.com/t/regex-loop-yields-single-element-array-for-multiple-finds/59110)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 3\
**Last updated:** [April 28, 2006, 7:50pm UTC](https://www.ruby-forum.com/t/regex-loop-yields-single-element-array-for-multiple-finds/59110 "2006-04-28T19:50:19Z")

</div>

I have a string with say “@@@asdfasdf@@@ @@@ lk;lk@@@” called markup, and I do: markup.scan(/@@@/) do |ats| print ats.class print ats.length end and I get the class as always Array, and the length as 1. What’s wi…

---

## [Intra-module method calls](https://www.ruby-forum.com/t/intra-module-method-calls/59103)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [April 28, 2006, 7:42pm UTC](https://www.ruby-forum.com/t/intra-module-method-calls/59103 "2006-04-28T19:42:55Z")

</div>

I have a module named X module X end I would like to call one method from another in my module. If I do public def method1 … method2 end private def method2 … end why doesn’t this work? Is it because this …

---

## [Ruby unable to parse my wsdl](https://www.ruby-forum.com/t/ruby-unable-to-parse-my-wsdl/59107)

<div class="topic-metadata">

**Author:** [@Simon\_Detheridge](https://www.ruby-forum.com/u/Simon_Detheridge)\
**Replies:** 0\
**Last updated:** [April 28, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/ruby-unable-to-parse-my-wsdl/59107 "2006-04-28T18:15:38Z")

</div>

Hi, Disclaimer: I am very new to programming with Ruby. I’m trying to make Ruby talk to a webservice I’m working on, by having it parse my wsdl. It’s quite a complex wsdl which imports a complex schema. Something’s n…

---

## [Possible Ruby Bug?](https://www.ruby-forum.com/t/possible-ruby-bug/59026)

<div class="topic-metadata">

**Author:** [@brad](https://www.ruby-forum.com/u/brad)\
**Replies:** 5\
**Last updated:** [April 28, 2006, 5:58pm UTC](https://www.ruby-forum.com/t/possible-ruby-bug/59026 "2006-04-28T17:58:38Z")

</div>

require ‘open-uri’ #~ When I require all three of the following modules require ‘fileutils’ require ‘tempfile’ require ‘win32/taskscheduler’ #~ I get this error on Windows 2003 SP1: #~ This application has requeste…

---

## [Rake tasks with parameters](https://www.ruby-forum.com/t/rake-tasks-with-parameters/59095)

<div class="topic-metadata">

**Author:** [@131313](https://www.ruby-forum.com/u/131313)\
**Replies:** 0\
**Last updated:** [April 28, 2006, 4:51pm UTC](https://www.ruby-forum.com/t/rake-tasks-with-parameters/59095 "2006-04-28T16:51:43Z")

</div>

Hi, I have some Rake tasks (actually these are Rails tasks to load db fixtures) that take parameters, for example: $ rake db:fixtures:load FIXTURES=foo,bar What is the best way to make this type of task as dependency…

---

## [OT: Vim-\>Ruby and back?](https://www.ruby-forum.com/t/ot-vim-ruby-and-back/59002)

<div class="topic-metadata">

**Author:** [@Meino\_Christian\_C](https://www.ruby-forum.com/u/Meino_Christian_C)\
**Replies:** 11\
**Last updated:** [April 28, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/ot-vim-ruby-and-back/59002 "2006-04-28T16:48:37Z")

</div>

Hi, sorry for this offtopic mail, but I asked this on the vim-user mailing list and git no answer… What I wnat to do seems to be simple: I want to write a script with vim and – without saveing it – pass it to the rub…

---

## [;;$B$,DL$i$J$/$J$C$F$k(B](https://www.ruby-forum.com/t/b-dl-i-j-j-c-f-k-b/59053)

<div class="topic-metadata">

**Author:** [@URABE\_Shyouhei](https://www.ruby-forum.com/u/URABE_Shyouhei)\
**Replies:** 2\
**Last updated:** [April 28, 2006, 4:36pm UTC](https://www.ruby-forum.com/t/b-dl-i-j-j-c-f-k-b/59053 "2006-04-28T16:36:03Z")

</div>

e$BKNIt$G$9!#$$$D$N$^$K$+e(B;;e$B$,DL$i$J$/$J$C$F$$$k$N$G$9$,!"0U?^$5e(B e$B$l$?JQ99$J$s$G$7$g$&$+e(B? e$B$@$H$7$?$i$J$s$G$G$9$+e(B? % for ruby in ruby-1.8 ruby-trunk rubyarv; do $ruby -ve’;;p:ok’; done ruby 1.8.4 (20…

---

## [Ruby lib for debtags and dpkg](https://www.ruby-forum.com/t/ruby-lib-for-debtags-and-dpkg/59085)

<div class="topic-metadata">

**Author:** [@alex789](https://www.ruby-forum.com/u/alex789)\
**Replies:** 0\
**Last updated:** [April 28, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/ruby-lib-for-debtags-and-dpkg/59085 "2006-04-28T15:49:59Z")

</div>

Hi there. Are there any efforts to write a ruby library for the debian packaging system that takes debtags into account? I’ve found dpkg-ruby but it doesn’t deal with debtags. TIA alex

---

## [Cosmological distances with ruby](https://www.ruby-forum.com/t/cosmological-distances-with-ruby/59032)

<div class="topic-metadata">

**Author:** [@Cameron\_McBride](https://www.ruby-forum.com/u/Cameron_McBride)\
**Replies:** 6\
**Last updated:** [April 28, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/cosmological-distances-with-ruby/59032 "2006-04-28T15:22:48Z")

</div>

I’m doubtful of any interest, but in the odd chance that someone else might want to play, I’m posting this code. If someone does look, all comments are welcome (be it ruby style or corrections)! Attached is a small l…

---

## [Re: Implementing publish subscribe in ruby](https://www.ruby-forum.com/t/re-implementing-publish-subscribe-in-ruby/94303)

<div class="topic-metadata">

**Author:** [@Wang\_Austin-W22255](https://www.ruby-forum.com/u/Wang_Austin-W22255)\
**Replies:** 2\
**Last updated:** [April 28, 2006, 2:42pm UTC](https://www.ruby-forum.com/t/re-implementing-publish-subscribe-in-ruby/94303 "2006-04-28T14:42:28Z")

</div>

If you want a publish/subscribe framework, I found freebase, which is the core of the freeride ruby IDE, elegant and powerful. Austin

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

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