# Ruby

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

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

---

## [How to get modules included by a class/module (not those fro](https://www.ruby-forum.com/t/how-to-get-modules-included-by-a-class-module-not-those-fro/87183)

<div class="topic-metadata">

**Author:** [@rubarachni](https://www.ruby-forum.com/u/rubarachni)\
**Replies:** 5\
**Last updated:** [March 1, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/how-to-get-modules-included-by-a-class-module-not-those-fro/87183 "2007-03-01T17:35:58Z")

</div>

Is there a way to get only the modules included by a given class. Using included\_modules returns also the modules that are included by the superclass(es). Example : class MyClass end MyClass.included\_modules will …

---

## [Webgen 0.4.2](https://www.ruby-forum.com/t/webgen-0-4-2/87153)

<div class="topic-metadata">

**Author:** [@tlockney](https://www.ruby-forum.com/u/tlockney)\
**Replies:** 8\
**Last updated:** [March 1, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/webgen-0-4-2/87153 "2007-03-01T17:31:57Z")

</div>

Hey everybody, I just released webgen 0.4.2 which closes some bugs and adds some new features. For a complete change log have a look at http://webgen.rubyforge.org/news.html. – Thomas About webgen webgen is used to…

---

## [Stepping out on a Limb - some very ugly code](https://www.ruby-forum.com/t/stepping-out-on-a-limb-some-very-ugly-code/87184)

<div class="topic-metadata">

**Author:** [@Samantha](https://www.ruby-forum.com/u/Samantha)\
**Replies:** 22\
**Last updated:** [March 1, 2007, 5:22pm UTC](https://www.ruby-forum.com/t/stepping-out-on-a-limb-some-very-ugly-code/87184 "2007-03-01T17:22:56Z")

</div>

Hi all, I’ve spent a few minutes this morning working on some code for that Resume Builder that was suggested to me on this list a few weeks ago… I have written some horribly ugly procedural code and wanted to get so…

---

## [Mini\_magick vs image\_science](https://www.ruby-forum.com/t/mini-magick-vs-image-science/87200)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/mini-magick-vs-image-science/87200 "2007-03-01T16:50:00Z")

</div>

I simply want to resize images. Which is easier to install/use and uses less memory?

---

## [Mailing List Files (#115)](https://www.ruby-forum.com/t/mailing-list-files-115/87314)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/mailing-list-files-115/87314 "2007-03-01T16:40:50Z")

</div>

I’ve been playing a little with TMail lately, which is what really inspired this quiz. I thought that a simple solution to this problem would be to pull the pages down with open-uri and then dump them into TMail and…

---

## [South East Michigan Ruby Brigade Meeting](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/87311)

<div class="topic-metadata">

**Author:** [@patrickharlan](https://www.ruby-forum.com/u/patrickharlan)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/south-east-michigan-ruby-brigade-meeting/87311 "2007-03-01T16:29:49Z")

</div>

Date: Monday, March 5th 2007 Time: 7:00-8:30pm Location: Location: 1670 CSE (if you are not familiar with campus don’t be intimidated, ask on the mailing list (http://lists.rubymi.org/listinfo.cgi/rubymi-rubymi.org) …

---

## [Using win32ole to access the Flash ExternalInterface API?](https://www.ruby-forum.com/t/using-win32ole-to-access-the-flash-externalinterface-api/87128)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/using-win32ole-to-access-the-flash-externalinterface-api/87128 "2007-03-01T16:00:43Z")

</div>

Hi I am working on a master thesis at Norwegian University of Science and Technology, and I am trying to create a open source framework for functional testing of Flex applications. And I want to do it in Ruby. I am p…

---

## [Problem Configuring Ruby Source in Linux](https://www.ruby-forum.com/t/problem-configuring-ruby-source-in-linux/87258)

<div class="topic-metadata">

**Author:** [@Edward\_WIJAYA](https://www.ruby-forum.com/u/Edward_WIJAYA)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/problem-configuring-ruby-source-in-linux/87258 "2007-03-01T15:11:38Z")

</div>

Hi all, I’m new to Ruby, and I am trying to install Ruby-1.8.5 in my linux box. However upon configuring it, I encounter the following problem: Checking build system type… i686-pc-linux-gnu checking host system typ…

---

## [PDF Appender?](https://www.ruby-forum.com/t/pdf-appender/87241)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 3:00pm UTC](https://www.ruby-forum.com/t/pdf-appender/87241 "2007-03-01T15:00:34Z")

</div>

Hey All, Let’s say I had a .pdf file and a .txt file, and I wanted to append the contents of the text to the .pdf. The text doesn’t have to look pretty, it just has to be searchable (the pdf has an image of the text …

---

## [Testing rake](https://www.ruby-forum.com/t/testing-rake/87012)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 1:57pm UTC](https://www.ruby-forum.com/t/testing-rake/87012 "2007-03-01T13:57:50Z")

</div>

Hi, I installed rake-0.7.2 as a gem, and following the suggestion of the docs tried to run the tests. It complained about rcov, so I installed that as well, then the same for flexmock, and then it ran: UNABLE TO RUN…

---

## [A code generator?](https://www.ruby-forum.com/t/a-code-generator/87097)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 3\
**Last updated:** [March 1, 2007, 10:05am UTC](https://www.ruby-forum.com/t/a-code-generator/87097 "2007-03-01T10:05:40Z")

</div>

Hi, I am in a not rails project. I want to generate some struct-dumb-code in ruby that is going to be heavily changed. Right now, i did it using rails script/generate. My question is, is out there any good code-gener…

---

## [Writing a destructor is possible?](https://www.ruby-forum.com/t/writing-a-destructor-is-possible/87242)

<div class="topic-metadata">

**Author:** [@Guillaume\_Nargeot](https://www.ruby-forum.com/u/Guillaume_Nargeot)\
**Replies:** 4\
**Last updated:** [March 1, 2007, 9:50am UTC](https://www.ruby-forum.com/t/writing-a-destructor-is-possible/87242 "2007-03-01T09:50:39Z")

</div>

I would like to know if it is possible to write (for a class) something like a destructor (like you do with C++), or something equivalent. If it is not possible, how can I do to perform some operations on the deletio…

---

## [Ruby/TK equivalent to Perl/TK "Scrolled" method](https://www.ruby-forum.com/t/ruby-tk-equivalent-to-perl-tk-scrolled-method/87201)

<div class="topic-metadata">

**Author:** [@Alex\_DeCaria](https://www.ruby-forum.com/u/Alex_DeCaria)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 9:31am UTC](https://www.ruby-forum.com/t/ruby-tk-equivalent-to-perl-tk-scrolled-method/87201 "2007-03-01T09:31:37Z")

</div>

Perl/Tk contains a “Scrolled” method which is a shortcut method for creating a widget with a scrollbar (Learning Perl/TK, by Walsh, pg. 126) without creating a widget and a scrollbar separately. Does Ruby/TK have a s…

---

## [Least significant bit?](https://www.ruby-forum.com/t/least-significant-bit/87243)

<div class="topic-metadata">

**Author:** [@q666](https://www.ruby-forum.com/u/q666)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 9:30am UTC](https://www.ruby-forum.com/t/least-significant-bit/87243 "2007-03-01T09:30:37Z")

</div>

Hi I have a question about Steganography in ruby how could i write and read some data (bits) from a picture (for example a bmp file) hmm heh i think i known something about how the LSB works //i read the wikipedia :wi…

---

## [Runy newbie question](https://www.ruby-forum.com/t/runy-newbie-question/84615)

<div class="topic-metadata">

**Author:** [@nick](https://www.ruby-forum.com/u/nick)\
**Replies:** 2\
**Last updated:** [March 1, 2007, 8:34am UTC](https://www.ruby-forum.com/t/runy-newbie-question/84615 "2007-03-01T08:34:30Z")

</div>

Dear all, I’m a newbie at ruby and I have a few simple problems. First I installed apache and ruby on rails using the guide at www.apacheguide.org. It appears to work fine. Now, I have a ruby script that returns an X…

---

## [Holy Telephony Batman! It's Batphone 0.1.0](https://www.ruby-forum.com/t/holy-telephony-batman-its-batphone-0-1-0/87252)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 1\
**Last updated:** [March 1, 2007, 8:10am UTC](https://www.ruby-forum.com/t/holy-telephony-batman-its-batphone-0-1-0/87252 "2007-03-01T08:10:27Z")

</div>

Does the world need yet another Ruby Asterisk Gateway Interface library? Does the world need a guy who dresses up like a bat? I was not satisfied with the complexity and learning curve of existing AGI libraries for Ru…

---

## [Array comparison.. why does this work](https://www.ruby-forum.com/t/array-comparison-why-does-this-work/87244)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 5\
**Last updated:** [March 1, 2007, 7:30am UTC](https://www.ruby-forum.com/t/array-comparison-why-does-this-work/87244 "2007-03-01T07:30:32Z")

</div>

How does Ruby do Array comparision? old\_inventory = \[ 'a', 'b', 'd' \] new\_inventory = \[ 'a','e', 'c' \] puts "The following files have been added: " puts new\_inventory - old\_inventory puts "" puts "The following files h…

---

## [Mechanize - Altering a WWW::Mechanize::Page document](https://www.ruby-forum.com/t/mechanize-altering-a-www-page-document/87246)

<div class="topic-metadata">

**Author:** [@qYuri-us](https://www.ruby-forum.com/u/qYuri-us)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 3:36am UTC](https://www.ruby-forum.com/t/mechanize-altering-a-www-page-document/87246 "2007-03-01T03:36:00Z")

</div>

Some web pages use Javascript to add a bit of crucial html to the DOM after the web page has been downloaded. Sometimes it’s trivial to make the modifications to the page as Javascript would have done. Is there a way …

---

## [How to check if child process is still alive?](https://www.ruby-forum.com/t/how-to-check-if-child-process-is-still-alive/87217)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [March 1, 2007, 2:29am UTC](https://www.ruby-forum.com/t/how-to-check-if-child-process-is-still-alive/87217 "2007-03-01T02:29:55Z")

</div>

how do you check if your child process from fork still alive or not? In perl I can send kill(0, $cid), I think. But Process.kill(0, child\_id) always returns 1. To be honest, I couldn’t get the perl code to work eithe…

---

## [CVS services will be permanently unavailable](https://www.ruby-forum.com/t/cvs-services-will-be-permanently-unavailable/87238)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 1:38am UTC](https://www.ruby-forum.com/t/cvs-services-will-be-permanently-unavailable/87238 "2007-03-01T01:38:52Z")

</div>

Hi, CVS services (including CVSup and CVSweb) will be permanently unavailable on Fri Mar 16 03:00 UTC 2007. The source code repositry has been moved to SVN.(\*1) If you require the CVS repositry, please get it by CVS…

---

## [\[ann\] cvs$b%5!\<%s%9$ngq;\_(b](https://www.ruby-forum.com/t/ann-cvs-b-5-s-9-ngq-b/87236)

<div class="topic-metadata">

**Author:** [@Shugo\_M](https://www.ruby-forum.com/u/Shugo_M)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 1:31am UTC](https://www.ruby-forum.com/t/ann-cvs-b-5-s-9-ngq-b/87236 "2007-03-01T01:31:51Z")

</div>

e$BA0ED$G$9!#e(B 3/16(e$B6be(B) 12:00e$B$Ke(BCVSe$B%5!\<%S%9e(B(CVSupe$B$r4^$\`e(B)e$B$rGQ;\_$7$^$9!#e(B e$B$3$l$O!"$9$G$K$9$Y$F$N%V%i%s%A$N3+H/$,e(BSubversione$B$K0\\9T$7$?e(B e$B$?$a$G$9!#e(B e$B2?$i$+$NM}M3$Ge(BCVSe$…

---

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

<div class="topic-metadata">

**Author:** [@gberz3](https://www.ruby-forum.com/u/gberz3)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 12:45am UTC](https://www.ruby-forum.com/t/something-wrong-with-rapt/102700 "2007-03-01T00:45:46Z")

</div>

Is there something going on with rapt? I’ve been using it the past few days on a system of mine and all has been well. Suddenly it just doens’t want to search or update or anything. Is it possible that a configurat…

---

## [Ruby / Rails IDE Comparison : Idea, NetBeans, Eclipse](https://www.ruby-forum.com/t/ruby-rails-ide-comparison-idea-netbeans-eclipse/87222)

<div class="topic-metadata">

**Author:** [@seb](https://www.ruby-forum.com/u/seb)\
**Replies:** 0\
**Last updated:** [March 1, 2007, 12:41am UTC](https://www.ruby-forum.com/t/ruby-rails-ide-comparison-idea-netbeans-eclipse/87222 "2007-03-01T00:41:45Z")

</div>

Hi, I tested and noted features of those 3 great java IDEs coming into the Ruby / Rails business, Happy reading : Comments are welcome! seb

---

## [Strict pragma & scope](https://www.ruby-forum.com/t/strict-pragma-scope/52921)

<div class="topic-metadata">

**Author:** [@tma](https://www.ruby-forum.com/u/tma)\
**Replies:** 9\
**Last updated:** [March 1, 2007, 12:13am UTC](https://www.ruby-forum.com/t/strict-pragma-scope/52921 "2007-03-01T00:13:43Z")

</div>

I’m still reading “the book” and am trying to see if I got this right. Sometimes the book isn’t direct enough on “this is how you will be programming in ruby”. Is there anything like perl strict pragma in ruby? Scop…

---

## [Net::FTP hangs](https://www.ruby-forum.com/t/net-ftp-hangs/86945)

<div class="topic-metadata">

**Author:** [@tim-hunter](https://www.ruby-forum.com/u/tim-hunter)\
**Replies:** 7\
**Last updated:** [March 1, 2007, 12:11am UTC](https://www.ruby-forum.com/t/net-ftp-hangs/86945 "2007-03-01T00:11:43Z")

</div>

Running ruby 1.8.5 (2006-08-25) on Mac OS X 10.4.8. I’m trying to get this example from the Ruby\_Cookbook to work, but it hangs in the ftp.list method. What am I doing wrong? #!/usr/bin/env ruby require ‘net/ftp’ ft…

---

## [Rcov 0.8.0: new output modes, fix for RSpec woes, superior E](https://www.ruby-forum.com/t/rcov-0-8-0-new-output-modes-fix-for-rspec-woes-superior-e/87135)

<div class="topic-metadata">

**Author:** [@tulkas](https://www.ruby-forum.com/u/tulkas)\
**Replies:** 7\
**Last updated:** [February 28, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/rcov-0-8-0-new-output-modes-fix-for-rspec-woes-superior-e/87135 "2007-02-28T23:23:35Z")

</div>

Source code, additional information, screenshots… available at eigenclass.org Release information: eigenclass.org Sample fully cross-referenced report at eigenclass.org This release includes two RubyGems packages: …

---

## [Overload \[\] operator and use a block?](https://www.ruby-forum.com/t/overload-operator-and-use-a-block/87202)

<div class="topic-metadata">

**Author:** [@StSSSSphane\_Wirtel](https://www.ruby-forum.com/u/StSSSSphane_Wirtel)\
**Replies:** 6\
**Last updated:** [February 28, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/overload-operator-and-use-a-block/87202 "2007-02-28T22:01:19Z")

</div>

Hi all, I would like to know if it’s possible to overload the \[\] operator to use a block with it. example: class Test def # to do something here yield if block\_given? end end t = Test.new t\[‘string’\] do puts…

---

## [Reading web service resposes in chunks?](https://www.ruby-forum.com/t/reading-web-service-resposes-in-chunks/87067)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 9:57pm UTC](https://www.ruby-forum.com/t/reading-web-service-resposes-in-chunks/87067 "2007-02-28T21:57:18Z")

</div>

I am making a web service call and getting back very large responses (sometimes 5gb). When I get this response it eats all of my RAM. I need to read the response in chunks so I can store it in a file and I have no ide…

---

## [Win32 QtRuby (again)](https://www.ruby-forum.com/t/win32-qtruby-again/86840)

<div class="topic-metadata">

**Author:** [@chucky](https://www.ruby-forum.com/u/chucky)\
**Replies:** 1\
**Last updated:** [February 28, 2007, 8:55pm UTC](https://www.ruby-forum.com/t/win32-qtruby-again/86840 "2007-02-28T20:55:59Z")

</div>

Hi guys, Sorry for this RE topic but I didn’t managed to compile the QtRuby binding for Win32 yet. Does anybody have a tutorial or a strong documentation regarding this issue ? If yes, please share with us. QtRuby …

---

## [Rubygems Weirdness](https://www.ruby-forum.com/t/rubygems-weirdness/87196)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 2\
**Last updated:** [February 28, 2007, 8:52pm UTC](https://www.ruby-forum.com/t/rubygems-weirdness/87196 "2007-02-28T20:52:56Z")

</div>

Hi, I’ve been experiencing some strange behavior with rubygems. Background: Solaris 10 x86 ruby 1.8.4 rubygems-0.9.2 I dont’ have access to the default rubygems repository, so I’m trying to set one up in my user d…

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

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