# Ruby

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

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

---

## [Re: eRB \<%=](https://www.ruby-forum.com/t/re-erb/68608)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 1\
**Last updated:** [September 13, 2006, 10:02pm UTC](https://www.ruby-forum.com/t/re-erb/68608 "2006-09-13T22:02:23Z")

</div>

From: Jason R. \[mailto:removed\_email\_address@domain.invalid\] \<%= puts “Can’t see me” %\> → Can’t see me That’s a terrible example. That will put “Can’t see me” to standard out (not the ERB template, unless you’ve bee…

---

## [ZenTest 3.4.0 Released](https://www.ruby-forum.com/t/zentest-3-4-0-released/68502)

<div class="topic-metadata">

**Author:** [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 9:58pm UTC](https://www.ruby-forum.com/t/zentest-3-4-0-released/68502 "2006-09-13T21:58:23Z")

</div>

ZenTest version 3.4.0 has been released! http://www.zenspider.com/ZSS/Products/ZenTest/ == DESCRIPTION ZenTest provides 4 different tools and 1 library: zentest, unit\_diff, autotest, multiruby, and Test::Rails. ZenT…

---

## [Re: eRB \<%=](https://www.ruby-forum.com/t/re-erb/68607)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 9:56pm UTC](https://www.ruby-forum.com/t/re-erb/68607 "2006-09-13T21:56:22Z")

</div>

From: Jonas H. \[mailto:removed\_email\_address@domain.invalid\] whats eRBs \<%= doing in contrast to \<%? My Template \<% place = “World” \_erbout \<\< “Hello” %\> \<%= place %\> \<% Your ruby code here. The ‘return valu…

---

## [Assembling team for Ruby window manager](https://www.ruby-forum.com/t/assembling-team-for-ruby-window-manager/68594)

<div class="topic-metadata">

**Author:** [@robinluckey](https://www.ruby-forum.com/u/robinluckey)\
**Replies:** 11\
**Last updated:** [September 13, 2006, 9:48pm UTC](https://www.ruby-forum.com/t/assembling-team-for-ruby-window-manager/68594 "2006-09-13T21:48:20Z")

</div>

Hey all. I am a Ruby coder with average skills (can code almost anything, I guess), but have no knowledge of anything graphical. I wanted to code a window manager with the goal: “To be a window manager which can be co…

---

## [New\_haven.rb meeting tonight](https://www.ruby-forum.com/t/new-haven-rb-meeting-tonight/68600)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/new-haven-rb-meeting-tonight/68600 "2006-09-13T21:32:17Z")

</div>

We will be meeting at innovation software group in North Haven tonight. (http://rubyurl.com/zkl) 7pm → 9pm. I’ll be doing a talk on Ruby’s performance profiling and benchmarking tools, and we’ll also be talking a bit…

---

## [Digest::Base#inspect](https://www.ruby-forum.com/t/digest-base-inspect/68582)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 1\
**Last updated:** [September 13, 2006, 9:32pm UTC](https://www.ruby-forum.com/t/digest-base-inspect/68582 "2006-09-13T21:32:17Z")

</div>

Digest::SHA256 e$B$N%$%s%9%?%s%9$H$+$re(B p e$B$GI=\<($9$k$H0J2\<$N$h$&e(B e$B$Ke(B 16e$B?J$NJ8;zNs$,=P$F$-$^$9!#e(B % ./ruby -v -rdigest -e ‘p Digest::SHA256.new’ ruby 1.9.0 (2006-09-13) \[i686-linux\] e3b0c44298fc1c149…

---

## [PDF file manipulation](https://www.ruby-forum.com/t/pdf-file-manipulation/68579)

<div class="topic-metadata">

**Author:** [@mlopke](https://www.ruby-forum.com/u/mlopke)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 9:30pm UTC](https://www.ruby-forum.com/t/pdf-file-manipulation/68579 "2006-09-13T21:30:50Z")

</div>

I’ve looked at PDF::Writer, ruby FPDF, etc. Are there any ruby tools for manipulation of existing PDF files? Php has the fpdi extention. Thanks, Mike

---

## [RoR Developer in Baltimore?](https://www.ruby-forum.com/t/ror-developer-in-baltimore/68597)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/ror-developer-in-baltimore/68597 "2006-09-13T21:12:10Z")

</div>

Looks like the idea of a RoR meeting in Baltimore fizzled out. We’d like to find a RoR developer somewhere in the Baltimore area. Could be located almost anywhere but somewhere in Maryland would make face-to-face pow …

---

## [Newbie Question: - Parse my commands](https://www.ruby-forum.com/t/newbie-question-parse-my-commands/68449)

<div class="topic-metadata">

**Author:** [@paytonrules](https://www.ruby-forum.com/u/paytonrules)\
**Replies:** 3\
**Last updated:** [September 13, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/newbie-question-parse-my-commands/68449 "2006-09-13T20:42:05Z")

</div>

Okay I’m trying to take our old scripting software and quickly move it up in the world. We have a program that takes as a parameter a script file, parses it and runs it for unit testing purposes. There are several p…

---

## ['gem install' vs. 'ruby install.rb'. A few questions](https://www.ruby-forum.com/t/gem-install-vs-ruby-install-rb-a-few-questions/67456)

<div class="topic-metadata">

**Author:** [@GSSSSraud\_Contisouz](https://www.ruby-forum.com/u/GSSSSraud_Contisouz)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/gem-install-vs-ruby-install-rb-a-few-questions/67456 "2006-09-13T20:26:16Z")

</div>

Hello list, First, a little disclaimer : I don’t know jack on ruby, gem, rails or anything. I hit this problem after a week-end trying to install Typo on FreeBSD. Did my homework with grandma’ Google on my side, even …

---

## [OT: compilation probs (later extension)](https://www.ruby-forum.com/t/ot-compilation-probs-later-extension/68586)

<div class="topic-metadata">

**Author:** [@Hugh\_S](https://www.ruby-forum.com/u/Hugh_S)\
**Replies:** 1\
**Last updated:** [September 13, 2006, 8:26pm UTC](https://www.ruby-forum.com/t/ot-compilation-probs-later-extension/68586 "2006-09-13T20:26:03Z")

</div>

This is somewhat OT for Ruby-Talk, but I want to build this against Ruby later, and Ruby is built with GCC. I suppose I could make another one built with Sun’s cc, put it somewhere else, but I’d consider that a viola…

---

## [Wrapping a C Library: Allocation and duplication issues](https://www.ruby-forum.com/t/wrapping-a-c-library-allocation-and-duplication-issues/68497)

<div class="topic-metadata">

**Author:** [@vtphysguy](https://www.ruby-forum.com/u/vtphysguy)\
**Replies:** 7\
**Last updated:** [September 13, 2006, 7:37pm UTC](https://www.ruby-forum.com/t/wrapping-a-c-library-allocation-and-duplication-issues/68497 "2006-09-13T19:37:58Z")

</div>

I’m writing a wrapper for a C library \[1\] written in a very object orientated style. All of the “classes” are created with a librdf\_new\_classname method which acts almost the same as Ruby’s Class#new. The problem I’…

---

## ["Ruby and Strongtalk"](https://www.ruby-forum.com/t/ruby-and-strongtalk/68585)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/ruby-and-strongtalk/68585 "2006-09-13T19:29:57Z")

</div>

This blog discusses Spolsky, Ruby, Duck Typing, and Strongtalk. http://smallthought.com/avi/?p=16 -r http://www.cfcl.com/rdm Rich M. http://www.cfcl.com/rdm/resume removed\_email\_address@domain.invalid …

---

## ["Design patterns of 1972", by MJD](https://www.ruby-forum.com/t/design-patterns-of-1972-by-mjd/68583)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 7:25pm UTC](https://www.ruby-forum.com/t/design-patterns-of-1972-by-mjd/68583 "2006-09-13T19:25:57Z")

</div>

In “Design patterns of 1972”, Mark-Jason Dominus says: Patterns are signs of weakness in programming languages. When we identify and document one, that should not be the end of the story. Rather, we should have the …

---

## [Ghana: Aiti to Train Over 100 Tutors in Ruby](https://www.ruby-forum.com/t/ghana-aiti-to-train-over-100-tutors-in-ruby/68530)

<div class="topic-metadata">

**Author:** [@zoat](https://www.ruby-forum.com/u/zoat)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 7:13pm UTC](https://www.ruby-forum.com/t/ghana-aiti-to-train-over-100-tutors-in-ruby/68530 "2006-09-13T19:13:36Z")

</div>

As part of the on-going collaboration between the Ghana-India Kofi Annan Centre of Excellence in ICT and the Finatrade Foundation, over one hundred ICT tutors from forty four Senior Secondary Schools (SSS) are expecte…

---

## [Possible to use Ruby with CLIPS?](https://www.ruby-forum.com/t/possible-to-use-ruby-with-clips/68204)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [September 13, 2006, 7:11pm UTC](https://www.ruby-forum.com/t/possible-to-use-ruby-with-clips/68204 "2006-09-13T19:11:56Z")

</div>

Is there anybody here tried to use Ruby with CLIPS expert system building shell? See: http://www.ghg.net/clips/CLIPS.html

---

## [Calling scp from ruby](https://www.ruby-forum.com/t/calling-scp-from-ruby/67832)

<div class="topic-metadata">

**Author:** [@rudy](https://www.ruby-forum.com/u/rudy)\
**Replies:** 16\
**Last updated:** [September 13, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/calling-scp-from-ruby/67832 "2006-09-13T18:49:01Z")

</div>

I have a problem using “scp” from a ruby scrip. It copies my sql file to the destination but it cuts the file the middle of line 290. When i run scp manually i the copied file is normal. I am using \`\` to call the unix…

---

## [Re: What does it take to make an object hashable, no really](https://www.ruby-forum.com/t/re-what-does-it-take-to-make-an-object-hashable-no-really/68576)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 6:29pm UTC](https://www.ruby-forum.com/t/re-what-does-it-take-to-make-an-object-hashable-no-really/68576 "2006-09-13T18:29:49Z")

</div>

From: Tim P. \[mailto:removed\_email\_address@domain.invalid\] You have to use eql? if you want to get a true/false result. Further, for some objects it’s easy to say if they’re equal or not, but very hard to define if o…

---

## [What does it take to make an object hashable, no really](https://www.ruby-forum.com/t/what-does-it-take-to-make-an-object-hashable-no-really/68562)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 6\
**Last updated:** [September 13, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/what-does-it-take-to-make-an-object-hashable-no-really/68562 "2006-09-13T18:27:49Z")

</div>

Suppose I want to define a class and be able to use this class as a key to a hash. How does one do this? …And please test your response before posting it. Secondly, if an objects works in a hash, is it guaranteed t…

---

## [Re: How to collect over two arrays then look back to one?](https://www.ruby-forum.com/t/re-how-to-collect-over-two-arrays-then-look-back-to-one/68574)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/re-how-to-collect-over-two-arrays-then-look-back-to-one/68574 "2006-09-13T18:27:49Z")

</div>

From: Peter B. \[mailto:removed\_email\_address@domain.invalid\] Two parallel arrays A, B . For each element n of A for which f(An) is true, is g(B\[n-3:n+3\]) true? Where B\[n-3:n+3\] refers to seven elements of B whose p…

---

## [Decrease "stack level too deep" in Windows](https://www.ruby-forum.com/t/decrease-stack-level-too-deep-in-windows/68565)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 1\
**Last updated:** [September 13, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/decrease-stack-level-too-deep-in-windows/68565 "2006-09-13T17:59:46Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B Windowse$B$J%W%i%C%H%U%)!\<%\`$G!"\<B:\]$K;H$($k%9%?%C%/$r==J,;H$o$Je(B e$B$$$&$A$Ke(Bstack level too deepe$B$K$J$C$F$7$^$&$H$$$&LdBj$,$"$C$?e(B e$B$N$G$9$,!"2r7h$9$k%Q%C%A…

---

## [Joel Spolsky on languages for web programming](https://www.ruby-forum.com/t/joel-spolsky-on-languages-for-web-programming/67228)

<div class="topic-metadata">

**Author:** [@Dido\_S](https://www.ruby-forum.com/u/Dido_S)\
**Replies:** 141\
**Last updated:** [September 13, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/joel-spolsky-on-languages-for-web-programming/67228 "2006-09-13T17:49:44Z")

</div>

Actually, despite the fact that I love Ruby a lot, I’m inclined to partially agree with him on this. Presently, our company does have some Rails-based web applications deployed but they’re predominantly applications…

---

## [Re: World's simplest code generator in ruby?](https://www.ruby-forum.com/t/re-worlds-simplest-code-generator-in-ruby/68568)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 5:39pm UTC](https://www.ruby-forum.com/t/re-worlds-simplest-code-generator-in-ruby/68568 "2006-09-13T17:39:42Z")

</div>

From: Mischa K. \[mailto:removed\_email\_address@domain.invalid\] There is an .asp application on the internet which calls itself the World’s simplest code generator it can be found here: (secretGeek.net) Here’s my hac…

---

## [Wirble 0.1.1: Irb Enhancements for the Masses](https://www.ruby-forum.com/t/wirble-0-1-1-irb-enhancements-for-the-masses/67994)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 27\
**Last updated:** [September 13, 2006, 5:03pm UTC](https://www.ruby-forum.com/t/wirble-0-1-1-irb-enhancements-for-the-masses/67994 "2006-09-13T17:03:37Z")

</div>

Hi All, I just released version 0.1.1 of Wirble. Wirble is a small collection of enhancements Irb, packaged in an easy-to-use format. Wirble includes tab-completion, persistent history, built-in ri support, and synt…

---

## [World's simplest code generator in ruby?](https://www.ruby-forum.com/t/worlds-simplest-code-generator-in-ruby/68557)

<div class="topic-metadata">

**Author:** [@Mischa\_K](https://www.ruby-forum.com/u/Mischa_K)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 4:15pm UTC](https://www.ruby-forum.com/t/worlds-simplest-code-generator-in-ruby/68557 "2006-09-13T16:15:28Z")

</div>

There is an .asp application on the internet which calls itself the World’s simplest code generator it can be found here: http://secretgeek.net/wscg.asp I’m currently implementing this in a windows forms application i…

---

## [Getch equivalent of method in ruby?](https://www.ruby-forum.com/t/getch-equivalent-of-method-in-ruby/68507)

<div class="topic-metadata">

**Author:** [@Googy](https://www.ruby-forum.com/u/Googy)\
**Replies:** 8\
**Last updated:** [September 13, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/getch-equivalent-of-method-in-ruby/68507 "2006-09-13T15:47:23Z")

</div>

Hi, I need to read some interactive input from keyboard and I am look for getch (c equivalent) of method in ruby. Thanks in advance.

---

## [Re: Duplication from a Subclass, Object#become](https://www.ruby-forum.com/t/re-duplication-from-a-subclass-object-become/68438)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 2\
**Last updated:** [September 13, 2006, 3:39pm UTC](https://www.ruby-forum.com/t/re-duplication-from-a-subclass-object-become/68438 "2006-09-13T15:39:21Z")

</div>

From: ts \[mailto:removed\_email\_address@domain.invalid\] G\> class Foo G\> def dup G\> # strange, magical, important things happen here G\> # which know about all of Foo’s instance variables You can’t u…

---

## [Installation Problem](https://www.ruby-forum.com/t/installation-problem/68549)

<div class="topic-metadata">

**Author:** [@atraeyu](https://www.ruby-forum.com/u/atraeyu)\
**Replies:** 3\
**Last updated:** [September 13, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/installation-problem/68549 "2006-09-13T15:37:21Z")

</div>

Let me preface my question with: I’m new to both Linux & Ruby. Yesterday I installed Ubuntu Linux, with the intention of installing ruby and learning and learning the language. I immediately went to ruby-lang.com, cli…

---

## [How to click on an image using ruby scripting](https://www.ruby-forum.com/t/how-to-click-on-an-image-using-ruby-scripting/68551)

<div class="topic-metadata">

**Author:** [@ash](https://www.ruby-forum.com/u/ash)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 3:35pm UTC](https://www.ruby-forum.com/t/how-to-click-on-an-image-using-ruby-scripting/68551 "2006-09-13T15:35:21Z")

</div>

Hi I am using Watir to automate the testing project. I have to click on an image on the menu bar which invokes a Component Web art function. Could any of you help me with the Script for this. Thanks, Aswin.

---

## [Ruby on Rails on Sambar](https://www.ruby-forum.com/t/ruby-on-rails-on-sambar/68550)

<div class="topic-metadata">

**Author:** [@John\_Baima](https://www.ruby-forum.com/u/John_Baima)\
**Replies:** 0\
**Last updated:** [September 13, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-on-sambar/68550 "2006-09-13T15:31:20Z")

</div>

My home “play” server uses Sambar (www.sambar.com–I really like Sambar!). Is there any way to get Ruby on Rails to work with Sambar? I’m a complete nubie to Ruby and it looks interesting, but right now, my only play e…

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

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