# Ruby

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

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

---

## [Activewarehouse-ETL documentation update](https://www.ruby-forum.com/t/activewarehouse-etl-documentation-update/129054)

<div class="topic-metadata">

**Author:** [@jesperronn](https://www.ruby-forum.com/u/jesperronn)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 8:47pm UTC](https://www.ruby-forum.com/t/activewarehouse-etl-documentation-update/129054 "2008-02-13T20:47:46Z")

</div>

Hi there As a newcomer to ActiveWarehouse-ETL, i feel that the documentation could be better. Here are some things that i believe would make me learn aw-ETL faster. And also things there I wasted some hours before un…

---

## [Actors and Concurrency](https://www.ruby-forum.com/t/actors-and-concurrency/128828)

<div class="topic-metadata">

**Author:** [@fedzor](https://www.ruby-forum.com/u/fedzor)\
**Replies:** 8\
**Last updated:** [February 13, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/actors-and-concurrency/128828 "2008-02-13T20:43:40Z")

</div>

So I was messing with actors today, and I found that I couldn’t get an actor to run concurrently with the main thread. Am I just wishing fibers are something they’re not? I had: Actor.spawn sleep 1 puts 5 end put…

---

## [Ruby Network Programming Guide](https://www.ruby-forum.com/t/ruby-network-programming-guide/129034)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 6\
**Last updated:** [February 13, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/ruby-network-programming-guide/129034 "2008-02-13T20:22:45Z")

</div>

Is there a good reference guide out there (either a physical book or pdf/web site) that goes over all of the possible syntax used for building client/server type apps in ruby? Thank You, Sam

---

## [Actual-expected argument ordering for test\_math.rb](https://www.ruby-forum.com/t/actual-expected-argument-ordering-for-test-math-rb/129048)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 8:15pm UTC](https://www.ruby-forum.com/t/actual-expected-argument-ordering-for-test-math-rb/129048 "2008-02-13T20:15:04Z")

</div>

e$B:XF#$H?=$7$^$9!#e(B e$B:G6aDI2C$5$l$?e(Btest\_math.rbe$B$NCf$G!"0z?t$N=g$,e(B (expected, actual, …) e$B$He(B e$B$J$k$Y$-$H$3$m$,5,B’@-$J$/JB$s$G$$$k$h$&$J$N$G!"D\>$7$F$\_$^$7$?!#e(B Index: test/ruby/test\_math.rb — te…

---

## [Memory leaks with ruby-prof 0.6.0 on Ruby 1.9](https://www.ruby-forum.com/t/memory-leaks-with-ruby-prof-0-6-0-on-ruby-1-9/129045)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/memory-leaks-with-ruby-prof-0-6-0-on-ruby-1-9/129045 "2008-02-13T20:04:29Z")

</div>

Hello, good folks of ruby-talk. Iâ€™m running into memory leaking issues when trying to profile my code with ruby-prof 0.6.0 on Ruby 1.9. Two scenarios, in which 1.8 is Ubuntuâ€™s packaged Ruby 1.8.6.p111, while 1.9 i…

---

## [Unsupported: th\_call0 in 1.9](https://www.ruby-forum.com/t/unsupported-th-call0-in-1-9/86326)

<div class="topic-metadata">

**Author:** [@kubo](https://www.ruby-forum.com/u/kubo)\
**Replies:** 4\
**Last updated:** [February 13, 2008, 7:58pm UTC](https://www.ruby-forum.com/t/unsupported-th-call0-in-1-9/86326 "2008-02-13T19:58:36Z")

</div>

e$B5WJ\]$G$9!#e(B ruby 1.9 e$B$G0J2\<$N\>r7o$N$H$-!"e(B\[BUG\] unsupported: th\_call0 e$B$H$J$j$^$7$?!#e(B private e$B$J%a%=%C%I$r%5%V%/%i%9$Ge(B public e$B$K$9$k!#e(B e$B3HD%%i%$%V%i%j$+$i%5%V%/%i%9$Ge(B public e$B$K$7$?%…

---

## [Monitor changes to website](https://www.ruby-forum.com/t/monitor-changes-to-website/129026)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [February 13, 2008, 7:40pm UTC](https://www.ruby-forum.com/t/monitor-changes-to-website/129026 "2008-02-13T19:40:52Z")

</div>

is there any ruby gem or library that monitors changes to website. i want to be able to program with it. eg product on web is http://beta.changedetection.com/

---

## [How to add a instance variable through a mixin?](https://www.ruby-forum.com/t/how-to-add-a-instance-variable-through-a-mixin/128934)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [February 13, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/how-to-add-a-instance-variable-through-a-mixin/128934 "2008-02-13T19:06:02Z")

</div>

Hi, I would like to have a mixin which adds an instance variable to a class. I ve tried it the following way: I ve defined a little module: module MyApp module MyMixin def self.included(base) @should\_be\_an\_instanc…

---

## [Do i need a framework?](https://www.ruby-forum.com/t/do-i-need-a-framework/129017)

<div class="topic-metadata">

**Author:** [@Rodrigo\_CortSSSSs](https://www.ruby-forum.com/u/Rodrigo_CortSSSSs)\
**Replies:** 1\
**Last updated:** [February 13, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/do-i-need-a-framework/129017 "2008-02-13T18:32:11Z")

</div>

I want to write some scripts to render html pages on a web server. Do i need a framework like ror to do that?? or can i just put this script on my webroot directory and call it from a browser??? I have lighttpd web se…

---

## [SOAP and .NET: \<env: vs \<soap:](https://www.ruby-forum.com/t/soap-and-net-env-vs-soap/129030)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/soap-and-net-env-vs-soap/129030 "2008-02-13T17:36:18Z")

</div>

I am interacting with a client’s SOAP interface, and they provided me with a WSDL however the create\_rpc\_driver method doesn’t get it quite right. Thanks to input on these forums I’ve almost got it right. Here is my …

---

## [Problem with image rotate RMagick](https://www.ruby-forum.com/t/problem-with-image-rotate-rmagick/129025)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 2\
**Last updated:** [February 13, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/problem-with-image-rotate-rmagick/129025 "2008-02-13T17:31:09Z")

</div>

I cant seem to get an image rotate right. I am using RMagick to do this. the source image file is transparent with a single red line. image = Magick::Image.read(‘public/images/line.png’).first image.rotate!(degrees.t…

---

## [WIN32OLE. Digital Cert?](https://www.ruby-forum.com/t/win32ole-digital-cert/129024)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/win32ole-digital-cert/129024 "2008-02-13T16:55:41Z")

</div>

I am trying to access MS Outlook through Ruby WIN32OLE. I have set Outlook Macro Security to low, but still getting blocked interfacing to the API. Do I need to create a digital cert for Ruby Code? Is this possible? A…

---

## [Setup.rb metaconfig](https://www.ruby-forum.com/t/setup-rb-metaconfig/129020)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/setup-rb-metaconfig/129020 "2008-02-13T16:46:12Z")

</div>

Anyone have a real iusecase of setup.rb’s “metaconfig” ability? I’m curious as to how useful this capability really is. Thanks, T.

---

## [Help Understanding Ruby/C Bindings](https://www.ruby-forum.com/t/help-understanding-ruby-c-bindings/128964)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 2\
**Last updated:** [February 13, 2008, 2:53pm UTC](https://www.ruby-forum.com/t/help-understanding-ruby-c-bindings/128964 "2008-02-13T14:53:31Z")

</div>

Hello all, Can anyone walk me through how, for example, the binding between libpcap-ruby and libpcap? If I look at pcaplet and pcap\_misc, I notice that ‘pcap’ is required. Is this another Ruby file (that I can’t fin…

---

## [Test for instance method existence?](https://www.ruby-forum.com/t/test-for-instance-method-existence/128998)

<div class="topic-metadata">

**Author:** [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Replies:** 5\
**Last updated:** [February 13, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/test-for-instance-method-existence/128998 "2008-02-13T14:31:01Z")

</div>

How can I test if an instance method is defined for a class, without having to create an instance of that class? Simple example: Test if ‘length’ defined for the ‘String’ class? Best regards, Jari W.

---

## [Cannot eval in the binding that has a singleton method](https://www.ruby-forum.com/t/cannot-eval-in-the-binding-that-has-a-singleton-method/129004)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 1\
**Last updated:** [February 13, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/cannot-eval-in-the-binding-that-has-a-singleton-method/129004 "2008-02-13T14:16:50Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B Binding e$B$KFC0\[%a%=%C%I$rDj5A$9$k$He(B eval e$B$G$-$J$/$J$j$^$9$,!"e(B e$B0U?^E\*$G$7$g$&$+!#e(B $ ./ruby -ve ‘x = 1; b = binding; def b.foo; end; p b.eval(“x”)’ ruby 1.9.0 (2008-02-13 revisio…

---

## [Suggestion: Proc#curry](https://www.ruby-forum.com/t/suggestion-proc-curry/128616)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 4\
**Last updated:** [February 13, 2008, 1:57pm UTC](https://www.ruby-forum.com/t/suggestion-proc-curry/128616 "2008-02-13T13:57:57Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B http://subtech.g.hatena.ne.jp/cho45/20071119/1195420784 e$B$GDs0F$5$l$F$$$ke(B Proc#curry e$B$rAH$\_9~$\`$N$O$I$&$G$7$g$&$+!#e(B proc {|x, y, z| x + y + z }.curry e$B$,e(B proc {|x| proc {|y| pr…

---

## [Internal Rate of Return (#156)](https://www.ruby-forum.com/t/internal-rate-of-return-156/128537)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 46\
**Last updated:** [February 13, 2008, 12:14pm UTC](https://www.ruby-forum.com/t/internal-rate-of-return-156/128537 "2008-02-13T12:14:02Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Rev/actor TCP monkey patching](https://www.ruby-forum.com/t/rev-actor-tcp-monkey-patching/128829)

<div class="topic-metadata">

**Author:** [@fedzor](https://www.ruby-forum.com/u/fedzor)\
**Replies:** 12\
**Last updated:** [February 13, 2008, 9:50am UTC](https://www.ruby-forum.com/t/rev-actor-tcp-monkey-patching/128829 "2008-02-13T09:50:43Z")

</div>

Short and sweet - How exactly does one monkey patch Rev’s TCP over Net::HTTP-s? Thanks, -------------------------------------------------------| ~ Ari seydar: it’s like a crazy love triangle of Kernel commands and C…

---

## [IronRuby Now on Google Groups - Join and Discuss Now](https://www.ruby-forum.com/t/ironruby-now-on-google-groups-join-and-discuss-now/128984)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 8:59am UTC](https://www.ruby-forum.com/t/ironruby-now-on-google-groups-join-and-discuss-now/128984 "2008-02-13T08:59:02Z")

</div>

Hi, I just Found this Fresh New Group on IronRuby. Its nice to have IronRuby spreading all over. Discussions regarding IronRuby on Google G. shall give more mileage offering good search engine results. http://groups…

---

## [What Pleasing News are we getting at MIX 2008](https://www.ruby-forum.com/t/what-pleasing-news-are-we-getting-at-mix-2008/128976)

<div class="topic-metadata">

**Author:** [@softmind](https://www.ruby-forum.com/u/softmind)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 6:11am UTC](https://www.ruby-forum.com/t/what-pleasing-news-are-we-getting-at-mix-2008/128976 "2008-02-13T06:11:32Z")

</div>

Hi, I have been reading all good things shaping up for Mix 2008. It seems MSFT has lots of stuff to be announced at Mix. I just read about the refreshing news on MVC front by ScottGu in his recent blog. Can some one…

---

## [Extract Timestamp from Ruby libpcap packet](https://www.ruby-forum.com/t/extract-timestamp-from-ruby-libpcap-packet/128961)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 1\
**Last updated:** [February 13, 2008, 1:29am UTC](https://www.ruby-forum.com/t/extract-timestamp-from-ruby-libpcap-packet/128961 "2008-02-13T01:29:25Z")

</div>

Hello all, Does anyone know how to extract the timestamp from a Ruby libpcap packet object? – Thanks! Bryan

---

## [Subclassing Integer; solved!](https://www.ruby-forum.com/t/subclassing-integer-solved/128863)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 9\
**Last updated:** [February 13, 2008, 1:28am UTC](https://www.ruby-forum.com/t/subclassing-integer-solved/128863 "2008-02-13T01:28:23Z")

</div>

Folk, Refer to http://www.ruby-forum.com/topic/96434 for the context. I’m doing some metaprogramming where I wanted folk to be able to subclass Integer, for example: “class Year \< Integer; … end”. You can’t do this w…

---

## [\-Registration Open for GoRuCo 2008-](https://www.ruby-forum.com/t/registration-open-for-goruco-2008/128963)

<div class="topic-metadata">

**Author:** [@HalterS\_Shari](https://www.ruby-forum.com/u/HalterS_Shari)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 1:27am UTC](https://www.ruby-forum.com/t/registration-open-for-goruco-2008/128963 "2008-02-13T01:27:12Z")

</div>

Registration is now open for Gotham Ruby Conference \[GoRuCo\] 2008, a one-day, single-track technical conference, aimed at highly motivated programmers, in New York City and dedicated to everything Ruby. The conference…

---

## [Ruby equivalent to source command](https://www.ruby-forum.com/t/ruby-equivalent-to-source-command/128909)

<div class="topic-metadata">

**Author:** [@vor\_lord](https://www.ruby-forum.com/u/vor_lord)\
**Replies:** 8\
**Last updated:** [February 12, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/ruby-equivalent-to-source-command/128909 "2008-02-12T23:37:57Z")

</div>

Hello all, I am trying to make a “source” command for Ruby (a la sh or tcl), but I think lexical scoping is tripping me up. I’ve done a lot of reading about bindings, and it seems I just can’t do what I’m trying to d…

---

## [Nested hash from array of paths](https://www.ruby-forum.com/t/nested-hash-from-array-of-paths/128834)

<div class="topic-metadata">

**Author:** [@addywaddy](https://www.ruby-forum.com/u/addywaddy)\
**Replies:** 8\
**Last updated:** [February 12, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/nested-hash-from-array-of-paths/128834 "2008-02-12T22:47:21Z")

</div>

Hi, I’m banging my head against the wall with the following problem: array = \[“home”, “about”, “about/history”, “about/company”, “about/history/part1”, “about/history/part2”\] I want to build a tree from this array in…

---

## [Command-set 0.10.1 Released](https://www.ruby-forum.com/t/command-set-0-10-1-released/128945)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 9:44pm UTC](https://www.ruby-forum.com/t/command-set-0-10-1-released/128945 "2008-02-12T21:44:20Z")

</div>

command-set version 0.10.1 has been released! CommandSet is a interactive program framework. Its focus is a DSL for defining commands, much like Rake or RSpec. The actual interpreter is left as an open question, alt…

---

## [IronRuby Visual Design Environment](https://www.ruby-forum.com/t/ironruby-visual-design-environment/128891)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 3\
**Last updated:** [February 12, 2008, 9:43pm UTC](https://www.ruby-forum.com/t/ironruby-visual-design-environment/128891 "2008-02-12T21:43:44Z")

</div>

I’ve just posted an article about the latest version of our IronRuby IDE… http://www.sapphiresteel.com/IronRuby-Developments-the-Visual We’ll be releasing this in alpha to our users shortly. best wishes Huw Sapphir…

---

## [Job Opportunity - Ruby Experience Required](https://www.ruby-forum.com/t/job-opportunity-ruby-experience-required/128944)

<div class="topic-metadata">

**Author:** [@ebrett](https://www.ruby-forum.com/u/ebrett)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 9:39pm UTC](https://www.ruby-forum.com/t/job-opportunity-ruby-experience-required/128944 "2008-02-12T21:39:34Z")

</div>

Work with a small yet rapidly growing software development company in Chicago on a variety of projects. We mainly develop web applications for various industries (Financial, Insurance, Manufacturing). Occasionally we …

---

## [XML to Canonical XML](https://www.ruby-forum.com/t/xml-to-canonical-xml/128931)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 3\
**Last updated:** [February 12, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/xml-to-canonical-xml/128931 "2008-02-12T21:01:51Z")

</div>

I’m trying to find a Ruby package that will convert valid XML into canonical XML. I found the genx4r gem, but that just generates canonical XML. Any pointers appreciated. Gary W.

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

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