# Ruby

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

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

---

## [Webby 0.7.4 (Cuddly Death Monkey)](https://www.ruby-forum.com/t/webby-0-7-4-cuddly-death-monkey/129269)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/webby-0-7-4-cuddly-death-monkey/129269 "2008-02-15T22:52:20Z")

</div>

== Webby by Tim P. http://webby.rubyforge.org (the “Cuddly Death Monkey” release) == Description Webby builds websites. It’s not a framework. It’s not a webserver. It’s not a content management system. Webby build…

---

## [Cute open range?](https://www.ruby-forum.com/t/cute-open-range/129187)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/cute-open-range/129187 "2008-02-15T22:51:09Z")

</div>

So I wanted to allow folk using my DSL to say “0…N”, “1…N”, etc, to describe the cardinality of a relationship, and I needed to find a useful way to define N without making it a fixed integer maximum value. Well, I c…

---

## [Will a "system call" wait until the command finishes?](https://www.ruby-forum.com/t/will-a-system-call-wait-until-the-command-finishes/129265)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 1\
**Last updated:** [February 15, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/will-a-system-call-wait-until-the-command-finishes/129265 "2008-02-15T21:51:27Z")

</div>

Hi, I wish to know, if I use system() to execute a time consuming task, will ruby wait until the task is finished or it will automatically interprete the next line? Thanks you very much sayoyo

---

## [Poll about the community](https://www.ruby-forum.com/t/poll-about-the-community/129248)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 1\
**Last updated:** [February 15, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/poll-about-the-community/129248 "2008-02-15T21:23:11Z")

</div>

I just put together a poll at dzone’s RubyZone. I’m interested in getting feedback about different venues for getting Rubyists together to learn and support the community. If you’d be willing to invest a minute or tw…

---

## [@var = change to accessor method? Why?](https://www.ruby-forum.com/t/var-change-to-accessor-method-why/127835)

<div class="topic-metadata">

**Author:** [@Day](https://www.ruby-forum.com/u/Day)\
**Replies:** 11\
**Last updated:** [February 15, 2008, 9:20pm UTC](https://www.ruby-forum.com/t/var-change-to-accessor-method-why/127835 "2008-02-15T21:20:51Z")

</div>

In ZenTest 3.9.0’s release notes (http://blog.zenspider.com/archives/2008/01/zentest\_version\_390\_has\_been\_released.html), it says, “Cleaned out nearly every @ and use accessor methods instead. You should too.” My fir…

---

## [Net::HTTP and handling 302 Redirect](https://www.ruby-forum.com/t/net-http-and-handling-302-redirect/129173)

<div class="topic-metadata">

**Author:** [@zeeboo](https://www.ruby-forum.com/u/zeeboo)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/net-http-and-handling-302-redirect/129173 "2008-02-15T20:35:25Z")

</div>

Greetings all. Ruby n00b here. I’m trying to use Ruby against ning.com’s REST api. My code is close to working, but I don’t understand the redirect example provided in the Net::HTTP code. I’m hoping that someone can p…

---

## [RubyCocoa 0.13.2](https://www.ruby-forum.com/t/rubycocoa-0-13-2/129257)

<div class="topic-metadata">

**Author:** [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/rubycocoa-0-13-2/129257 "2008-02-15T20:30:04Z")

</div>

Hi, I am honored to announce the immediate release of RubyCocoa 0.13.2. RubyCocoa is a Mac OS X framework that allows Cocoa programming in the object-oriented scripting language Ruby. In other words, it is a bridge t…

---

## [Sorting & comparing complex array](https://www.ruby-forum.com/t/sorting-comparing-complex-array/129222)

<div class="topic-metadata">

**Author:** [@Erwin](https://www.ruby-forum.com/u/Erwin)\
**Replies:** 1\
**Last updated:** [February 15, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/sorting-comparing-complex-array/129222 "2008-02-15T19:25:39Z")

</div>

As per Ruby CookBook, I learnt how to sort a simple array by frequency : def sort\_by\_frequency\_descending histogram = inject(Hash.new(0)) { |hash, x| hash\[x\] += 1; hash} sort\_by { |x| \[histogram\[x\] \* -1, x\]} end \[1…

---

## [SetupTask](https://www.ruby-forum.com/t/setuptask/129242)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/setuptask/129242 "2008-02-15T18:31:29Z")

</div>

Hey all, I turned setup.rb into a Rake task called SetupTask. You can check it out here: http://reap.rubyforge.org/svn/trunk/lib/reap/rake/setuptask.rb While I was at it I cleaned up some parts of the code. I got r…

---

## [Special type of string replacement](https://www.ruby-forum.com/t/special-type-of-string-replacement/129231)

<div class="topic-metadata">

**Author:** [@laredotornado](https://www.ruby-forum.com/u/laredotornado)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/special-type-of-string-replacement/129231 "2008-02-15T17:53:16Z")

</div>

Hi, I want to insert the “​” character in between each character of a string contained in @user.email. So if the string output were “removed\_email\_address@domain.invalid”, the result would be “m​e​@​m​i​n​e​.​c​o​m”…

---

## [Ruby on Rails job](https://www.ruby-forum.com/t/ruby-on-rails-job/128896)

<div class="topic-metadata">

**Author:** [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Replies:** 7\
**Last updated:** [February 15, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-job/128896 "2008-02-15T17:17:54Z")

</div>

Hi guys, anyone want a web development role? Using open source technologies, including Ruby. Also, J2EE, SQL. Based in London, Â£40-50k.

---

## [Ruby on mac - requires don't work](https://www.ruby-forum.com/t/ruby-on-mac-requires-dont-work/129223)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 3\
**Last updated:** [February 15, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/ruby-on-mac-requires-dont-work/129223 "2008-02-15T17:10:15Z")

</div>

Hi - i’m trying to write a ruby program on my wife’s mac (i use linux normally). In irb i can require a gem fine, but when i write a little program, save it on her desktop and run it, the require doesn’t work - it ca…

---

## [Rosc 0.1.2](https://www.ruby-forum.com/t/rosc-0-1-2/129228)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 5:00pm UTC](https://www.ruby-forum.com/t/rosc-0-1-2/129228 "2008-02-15T17:00:48Z")

</div>

Announcing rosc (Ruby OpenSoundControl library) version 0.1.2. This is a bugfix release. Download the tarball or browse the source code at http://hans.fugal.net/src/rosc/ Read the documentation at rosc Thanks to Lia…

---

## [Instance\_eval and Module.nesting](https://www.ruby-forum.com/t/instance-eval-and-module-nesting/129224)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 4:22pm UTC](https://www.ruby-forum.com/t/instance-eval-and-module-nesting/129224 "2008-02-15T16:22:18Z")

</div>

e$B$U$H5$$,$D$$$?$s$G$9$,!"e(Binstance\_eval e$BFb$Ne(B Module.nesting e$B$Ne(B e$B7k2L$,e(B 1.8 e$B$He(B 1.9 e$B$G0\[$J$k$h$&$G$9!#e(B % ./ruby -ve ’ class C end obj = C.new obj.instance\_eval { p Module.nesting } …

---

## [Ruby-debug-ide installation problems](https://www.ruby-forum.com/t/ruby-debug-ide-installation-problems/129214)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/ruby-debug-ide-installation-problems/129214 "2008-02-15T15:05:56Z")

</div>

I’m running Kubuntu Linux 7.10 (and still very much learning Linux). In a console I just issued the command All did not go well: Install required dependency ruby-debug-base? \[Yn\] y Select which gem to install for…

---

## [Inheritance](https://www.ruby-forum.com/t/inheritance/129202)

<div class="topic-metadata">

**Author:** [@veovis](https://www.ruby-forum.com/u/veovis)\
**Replies:** 7\
**Last updated:** [February 15, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/inheritance/129202 "2008-02-15T14:34:46Z")

</div>

Hello, I have this class : class A def toto puts “tttt” end end class B \< A def tata end end I would like to now how in B.tata I can invoke, I can call the method toto of A. Thanks for your reply…

---

## [Making an object follow another object - FAIL!](https://www.ruby-forum.com/t/making-an-object-follow-another-object-fail/129176)

<div class="topic-metadata">

**Author:** [@fuubi](https://www.ruby-forum.com/u/fuubi)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 1:38pm UTC](https://www.ruby-forum.com/t/making-an-object-follow-another-object-fail/129176 "2008-02-15T13:38:02Z")

</div>

First of all, I’m new to the forum (and to ruby) so hi everyone! I’ve started playing around with Ruby, and I decided to see if I could do anything fun with the sdl extension library. I started by just putting a spinn…

---

## [One click installer](https://www.ruby-forum.com/t/one-click-installer/129092)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 2\
**Last updated:** [February 15, 2008, 1:30pm UTC](https://www.ruby-forum.com/t/one-click-installer/129092 "2008-02-15T13:30:28Z")

</div>

Any special way to configure one click installer?

---

## [aFixnum \*\* aComplex](https://www.ruby-forum.com/t/afixnum-acomplex/129200)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 11:41am UTC](https://www.ruby-forum.com/t/afixnum-acomplex/129200 "2008-02-15T11:41:02Z")

</div>

rational e$B$rFI$s$G$$$k\>l9g!"0J2\<$N$h$&$J%(%i!\<$K$J$j$^$9!#e(B $ ruby19 -r rational -r complex -e ‘1 \*\* Complex(1)’ /usr/local/ruby19/lib/ruby/1.9.0/rational.rb:520:in rpower': undefined method\>=’ for Complex(1, 0):Co…

---

## [Bigdecimal](https://www.ruby-forum.com/t/bigdecimal/128660)

<div class="topic-metadata">

**Author:** [@Tadayoshi\_F](https://www.ruby-forum.com/u/Tadayoshi_F)\
**Replies:** 22\
**Last updated:** [February 15, 2008, 10:25am UTC](https://www.ruby-forum.com/t/bigdecimal/128660 "2008-02-15T10:25:58Z")

</div>

bigdecimal/math.rb e$B$Ne(B BigMath e$B$O!“MxMQ\<T$,e(B include e$B$7$F$D$+$&$3$H$rA0e(B e$BDs$H$7$F$$$^$9$,!”$$+$7$J$3$H$G!"$=$l$J$i:G=i$+$i$=$N$h$&$K$7$F$$1$Pe(B e$B$h$$$O$:$G$9!#K\\Ev$O!"e(BBigMath e$B$N%a%=%C%I$r%b…

---

## [Is dcov working?](https://www.ruby-forum.com/t/is-dcov-working/129105)

<div class="topic-metadata">

**Author:** [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Replies:** 2\
**Last updated:** [February 15, 2008, 10:24am UTC](https://www.ruby-forum.com/t/is-dcov-working/129105 "2008-02-15T10:24:13Z")

</div>

I tried dcov (http://dcov.rubyforge.org/) for testing the quality of the RDoc documentation. However, the only result I can get is whether a method/class contains a comment or not (the comment can even be empty to fla…

---

## [Deadline Extension: Workshop on Self-sustaining Systems (S3) 2008](https://www.ruby-forum.com/t/deadline-extension-workshop-on-self-sustaining-systems-s3-2008/129195)

<div class="topic-metadata">

**Author:** [@Gregor\_Schmidt](https://www.ruby-forum.com/u/Gregor_Schmidt)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 10:00am UTC](https://www.ruby-forum.com/t/deadline-extension-workshop-on-self-sustaining-systems-s3-2008/129195 "2008-02-15T10:00:38Z")

</div>

Hello, for all the Rubinius-Hackers and Meta-Enthusiasts. This might be of interest for you. The workshop takes place in Potsdam, Germany, and features the “most impressive committee of the year.” (Christian Neukirch…

---

## [Problem usning 'OR' operator in 'IF' condition?](https://www.ruby-forum.com/t/problem-usning-or-operator-in-if-condition/129098)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 7\
**Last updated:** [February 15, 2008, 9:07am UTC](https://www.ruby-forum.com/t/problem-usning-or-operator-in-if-condition/129098 "2008-02-15T09:07:33Z")

</div>

Dear friends, I have got an error when i tried to check multiple condition using “OR” operator inside “IF” loop. my code is if @character != 'R' || @character != 'r' raise " Expected 'R' after 'E' in version De…

---

## [Extract the message body with gmailer](https://www.ruby-forum.com/t/extract-the-message-body-with-gmailer/129044)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 8:51am UTC](https://www.ruby-forum.com/t/extract-the-message-body-with-gmailer/129044 "2008-02-15T08:51:37Z")

</div>

Hi, Does anyone know how extract the message body from a single inbox mail in gmailer? Aidy

---

## [Require help in Eclipse + ruby](https://www.ruby-forum.com/t/require-help-in-eclipse-ruby/129190)

<div class="topic-metadata">

**Author:** [@rubist](https://www.ruby-forum.com/u/rubist)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 7:29am UTC](https://www.ruby-forum.com/t/require-help-in-eclipse-ruby/129190 "2008-02-15T07:29:47Z")

</div>

Hi All, I am using eclipse with RDT plugin, I am having problems in using require ‘Filename’, if source and destination files are in different directory, its working if 2 files are in same folders , If i say require …

---

## [Accessing binding in eval with $SAFE=4](https://www.ruby-forum.com/t/accessing-binding-in-eval-with-safe-4/129186)

<div class="topic-metadata">

**Author:** [@ngrandy](https://www.ruby-forum.com/u/ngrandy)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 6:55am UTC](https://www.ruby-forum.com/t/accessing-binding-in-eval-with-safe-4/129186 "2008-02-15T06:55:44Z")

</div>

hi all, can anyone explain why this doesn’t work? class MyBinding def my\_test “success!” end end b = MyBinding.new.instance\_eval{binding} thread = Thread.start do $SAFE = 4 cmd = ‘my\_test’ result = eval(cmd, b…

---

## [How to pass a hash into a function](https://www.ruby-forum.com/t/how-to-pass-a-hash-into-a-function/129151)

<div class="topic-metadata">

**Author:** [@pimeamark](https://www.ruby-forum.com/u/pimeamark)\
**Replies:** 4\
**Last updated:** [February 15, 2008, 3:57am UTC](https://www.ruby-forum.com/t/how-to-pass-a-hash-into-a-function/129151 "2008-02-15T03:57:40Z")

</div>

Hi, I have a hash and i need to pass it to a function in another controller. Here’s what I have to do that \<%= link\_to ‘View’, :controller =\> :attempts, :action =\> :show\_cbam, :id =\> a.code, :percentiles =\>@percentile…

---

## [Code snippets to create Appointment in MS Outlook with win32ole module](https://www.ruby-forum.com/t/code-snippets-to-create-appointment-in-ms-outlook-with-win32ole-module/129165)

<div class="topic-metadata">

**Author:** [@sean\_n](https://www.ruby-forum.com/u/sean_n)\
**Replies:** 1\
**Last updated:** [February 15, 2008, 3:25am UTC](https://www.ruby-forum.com/t/code-snippets-to-create-appointment-in-ms-outlook-with-win32ole-module/129165 "2008-02-15T03:25:36Z")

</div>

Hi, anyone have a code snippets to create an Appointment in MS Outlook using the win32ole module? It really doesn’t have to be the win32ole module, but I’m just assuming that would be the tool of choice. It doesn’t h…

---

## [Capture X keystrokes](https://www.ruby-forum.com/t/capture-x-keystrokes/129174)

<div class="topic-metadata">

**Author:** [@kuzb](https://www.ruby-forum.com/u/kuzb)\
**Replies:** 0\
**Last updated:** [February 15, 2008, 3:09am UTC](https://www.ruby-forum.com/t/capture-x-keystrokes/129174 "2008-02-15T03:09:31Z")

</div>

Hi, I’m the author of Snippits\[1\], a text expansion program for Linux. Snippits types by generating X keystrokes, using the xte utility from the xautomation suite. However, the way xte reads typed X characters is a…

---

## [Array $B$N(B product $B$NLa$jCM(B](https://www.ruby-forum.com/t/array-b-n-b-product-b-nla-jcm-b/128862)

<div class="topic-metadata">

**Author:** [@Hideo\_Konami](https://www.ruby-forum.com/u/Hideo_Konami)\
**Replies:** 6\
**Last updated:** [February 15, 2008, 2:19am UTC](https://www.ruby-forum.com/t/array-b-n-b-product-b-nla-jcm-b/128862 "2008-02-15T02:19:48Z")

</div>

e$B\>.GH$G$9!#e(B Ruby 1.9 e$B$Ne(B Array e$B%/%i%9$Ne(B product e$B%a%=%C%I$O;H$($=$&$@$H;W$C$F$$$ke(B e$B$N$G$9$,!$JV$5$l$k$N$,G\[Ns$NG\[Ns$K$J$k$o$1$G$9$M!#e(B e$B3N$+$K!V=89g$ND\>@Q!W$H9M$($k$H!$=89g$C$\]$$%%V%8%’%/%H…

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

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