# Ruby

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

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

---

## [How to send a secure email (maybe PGP)?](https://www.ruby-forum.com/t/how-to-send-a-secure-email-maybe-pgp/103578)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 2\
**Last updated:** [May 9, 2007, 12:36am UTC](https://www.ruby-forum.com/t/how-to-send-a-secure-email-maybe-pgp/103578 "2007-05-09T00:36:12Z")

</div>

Hello, In an application I have to send an email containing a Credit Card number, but I don’t know how to secure it!!! Is there a ruby library or best practice for securing an email content, I googled for it with no …

---

## [DTrace and Ruby](https://www.ruby-forum.com/t/dtrace-and-ruby/103571)

<div class="topic-metadata">

**Author:** [@dishkuvek](https://www.ruby-forum.com/u/dishkuvek)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/dtrace-and-ruby/103571 "2007-05-08T22:54:52Z")

</div>

Any Solaris users on the list might want to check out Top Joy Coding School - WE CHANGE LEARNING, YOU CHANGE THE WORLD. (and there was much rejoicing)

---

## [Threads output/execution question](https://www.ruby-forum.com/t/threads-output-execution-question/103583)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/threads-output-execution-question/103583 "2007-05-08T21:45:44Z")

</div>

Hi, I have a ruby multi-threaded application and I don’t understand its behaviour. I hate just dumping code in a post and asking questions, but I cannot explain the problem otherwise. In the code below, I have a loop…

---

## [Milwaukee Ruby Users Group this Wednesday 5/9 @ 5:30 pm](https://www.ruby-forum.com/t/milwaukee-ruby-users-group-this-wednesday-5-9-5-30-pm/103646)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/milwaukee-ruby-users-group-this-wednesday-5-9-5-30-pm/103646 "2007-05-08T21:28:42Z")

</div>

Please join us for the following presentations: Geoff L. will be presenting a run down on Ruby IDEs Netbeans Idea Eclipse (RDT/RadRails/Aptana) Josh Gephart will be presenting an overview of RSpec We will be meeting…

---

## [Difference answers from Terminal, TextMate, and BBEdit](https://www.ruby-forum.com/t/difference-answers-from-terminal-textmate-and-bbedit/103576)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 14\
**Last updated:** [May 8, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/difference-answers-from-terminal-textmate-and-bbedit/103576 "2007-05-08T18:53:15Z")

</div>

A newbie here trying to develop one of Pine’s tutorial scripts. Ruby v1.8.6 I get different results from my script in Terminal, TextMate, and BBEdit. How is this possible? TextMate seems to be the closest to what I’d…

---

## [SIMPLE! and INTUITIVE! GUI BUILDER for RUBY?](https://www.ruby-forum.com/t/simple-and-intuitive-gui-builder-for-ruby/103421)

<div class="topic-metadata">

**Author:** [@gcarcass](https://www.ruby-forum.com/u/gcarcass)\
**Replies:** 19\
**Last updated:** [May 8, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/simple-and-intuitive-gui-builder-for-ruby/103421 "2007-05-08T16:35:45Z")

</div>

Is there any, SIMPLE software that I can use to build GRAPHIC INTERFACES for Ruby scripts? a kind of VISUALbasic or REALbasic or even Xcode alike? I know I’ve asked this before, BUT! I forgot to mention… I’m a graphic …

---

## [Ulaw audio over network](https://www.ruby-forum.com/t/ulaw-audio-over-network/103560)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/ulaw-audio-over-network/103560 "2007-05-08T15:57:37Z")

</div>

Does anyone know of a good way to stream ulaw audio (read from a file) over a UDP socket? I have something (mostly) working, but I can’t seem to get the packet timing right. If I use a 10ms sleep, the packets end up…

---

## [10 millisecond delay/callback](https://www.ruby-forum.com/t/10-millisecond-delay-callback/93041)

<div class="topic-metadata">

**Author:** [@eclubb](https://www.ruby-forum.com/u/eclubb)\
**Replies:** 20\
**Last updated:** [May 8, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/10-millisecond-delay-callback/93041 "2007-05-08T15:16:28Z")

</div>

I need to perform a task every 10ms. I’ve been using kernel.sleep(0.01), but sleep seems to be slow and erratic at sub-second resolutions. Here’s a test I ran along with the results: irb(main):001:0\> 0.upto(25) do …

---

## [General purpose chomp?](https://www.ruby-forum.com/t/general-purpose-chomp/103615)

<div class="topic-metadata">

**Author:** [@Michal\_S](https://www.ruby-forum.com/u/Michal_S)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/general-purpose-chomp/103615 "2007-05-08T14:51:23Z")

</div>

I wonder why we do not have one. Or maybe I just overlooked something? class String def lstripc c = ’ \\r\\t\\n’ c = c.chr if c.kind\_of? Integer idx = 0 while c.include? self\[idx\] idx += 1 end self\[idx…-1\] end end …

---

## [How to simulate Mouse Click with Ruby, or mouse library](https://www.ruby-forum.com/t/how-to-simulate-mouse-click-with-ruby-or-mouse-library/83297)

<div class="topic-metadata">

**Author:** [@rubykid99](https://www.ruby-forum.com/u/rubykid99)\
**Replies:** 7\
**Last updated:** [May 8, 2007, 2:45pm UTC](https://www.ruby-forum.com/t/how-to-simulate-mouse-click-with-ruby-or-mouse-library/83297 "2007-05-08T14:45:22Z")

</div>

Hi, I would like to simulate a Mouse click through Ruby. Is there a way to do this through Ruby? Does Ruby have any library for simulating mouse events. Can someone provide me with some info on this topic. Thanks in…

---

## [Uploading file directly to the server](https://www.ruby-forum.com/t/uploading-file-directly-to-the-server/103609)

<div class="topic-metadata">

**Author:** [@lomafor](https://www.ruby-forum.com/u/lomafor)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 12:58pm UTC](https://www.ruby-forum.com/t/uploading-file-directly-to-the-server/103609 "2007-05-08T12:58:26Z")

</div>

hello everyone, My problem is how to upload .txt file directly to the server. I wonder if there is cgi script in ruby that first check a .txt file in a folder in your local machine then if it exist it will be uploaded…

---

## [Handshake, an informal contract system for Ruby](https://www.ruby-forum.com/t/handshake-an-informal-contract-system-for-ruby/103605)

<div class="topic-metadata">

**Author:** [@Brian\_Guthrie](https://www.ruby-forum.com/u/Brian_Guthrie)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 10:54am UTC](https://www.ruby-forum.com/t/handshake-an-informal-contract-system-for-ruby/103605 "2007-05-08T10:54:45Z")

</div>

Handshake is an informal contract system for Ruby. It allows developers to apply clear, concise, and enforceable interfaces to classes, in three forms: method signatures class invariants pre- and post-conditions No…

---

## [Watir and frames](https://www.ruby-forum.com/t/watir-and-frames/103603)

<div class="topic-metadata">

**Author:** [@martignoni-a](https://www.ruby-forum.com/u/martignoni-a)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 10:30am UTC](https://www.ruby-forum.com/t/watir-and-frames/103603 "2007-05-08T10:30:20Z")

</div>

Hi, i’m trying to login to a web application using watir. I’ve got a frameset with the login form in one frame. I was trying this: –code– 1 require ‘watir’ 2 include Watir 3. 4 ie = Watir::IE.new 5 6 ie.…

---

## [Subclassing fundamental classes](https://www.ruby-forum.com/t/subclassing-fundamental-classes/103596)

<div class="topic-metadata">

**Author:** [@xyz](https://www.ruby-forum.com/u/xyz)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 9:51am UTC](https://www.ruby-forum.com/t/subclassing-fundamental-classes/103596 "2007-05-08T09:51:56Z")

</div>

Let’s say I have a user-defined class as follows: class C1 #------------------------- def initialize(i, j) @iv1 = Array.new(i, j) end #------------------------- def append(i) @iv1 \<\< i return(self) end #------…

---

## [Command interpretation](https://www.ruby-forum.com/t/command-interpretation/103510)

<div class="topic-metadata">

**Author:** [@Martin\_Krischik](https://www.ruby-forum.com/u/Martin_Krischik)\
**Replies:** 4\
**Last updated:** [May 8, 2007, 8:20am UTC](https://www.ruby-forum.com/t/command-interpretation/103510 "2007-05-08T08:20:48Z")

</div>

Hallo, I searched high and low to find how “command interpretation” actually works. But all I found is \[1\]: echo command interpretation with interpolation and backslashes %x(echo command interpretation with interpola…

---

## [Why is my method not found? (NoMethodError)](https://www.ruby-forum.com/t/why-is-my-method-not-found-nomethoderror/103533)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 9\
**Last updated:** [May 8, 2007, 7:25am UTC](https://www.ruby-forum.com/t/why-is-my-method-not-found-nomethoderror/103533 "2007-05-08T07:25:44Z")

</div>

Hi, I have written a small tcp scanner procedural and wanted to change it to OOP but something went wrong. Until this line everything works fine: my\_scanner.scanning(hosts,ports) but here I always get: test.…

---

## [Ruby Reports 1.0 RC3 (0.12.0)](https://www.ruby-forum.com/t/ruby-reports-1-0-rc3-0-12-0/103590)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 6:31am UTC](https://www.ruby-forum.com/t/ruby-reports-1-0-rc3-0-12-0/103590 "2007-05-08T06:31:42Z")

</div>

Hi folks, this is the 3rd and final release candidate for ruport 1.0 Please try it out and get in those bug reports between now and May 15th. The feature set you see in this release is likely what you’ll see in 1.0, t…

---

## [Gem-only releases](https://www.ruby-forum.com/t/gem-only-releases/103348)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 10\
**Last updated:** [May 8, 2007, 5:13am UTC](https://www.ruby-forum.com/t/gem-only-releases/103348 "2007-05-08T05:13:38Z")

</div>

Hi there. This request goes mostly to library authors that just love gems, which seem to be an increasingly number of them lately especially in conjunction with rake and Rakefiles. :slight\_smile: I have noticed that …

---

## [Install plugin acts\_as\_auth.. no access to techno-weenie.net](https://www.ruby-forum.com/t/install-plugin-acts-as-auth-no-access-to-techno-weenie-net/112960)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 0\
**Last updated:** [May 8, 2007, 5:03am UTC](https://www.ruby-forum.com/t/install-plugin-acts-as-auth-no-access-to-techno-weenie-net/112960 "2007-05-08T05:03:37Z")

</div>

please help me get this plugin installed… I have no access to techo-weenie.net due to a firewall blocking the weenie crap in its domain name. more specifically, i’m trying to do this: script/plugin install http://svn…

---

## [Rdoc on c and cpp files](https://www.ruby-forum.com/t/rdoc-on-c-and-cpp-files/103567)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 6\
**Last updated:** [May 8, 2007, 2:16am UTC](https://www.ruby-forum.com/t/rdoc-on-c-and-cpp-files/103567 "2007-05-08T02:16:30Z")

</div>

Can I use rdoc to generate documentation for c and C++ sources? If so, how do I mark the comments? /\* ??? \*/ void main() { … }

---

## [Should hash equality ignore default values?](https://www.ruby-forum.com/t/should-hash-equality-ignore-default-values/103566)

<div class="topic-metadata">

**Author:** [@fmwr](https://www.ruby-forum.com/u/fmwr)\
**Replies:** 1\
**Last updated:** [May 8, 2007, 2:11am UTC](https://www.ruby-forum.com/t/should-hash-equality-ignore-default-values/103566 "2007-05-08T02:11:29Z")

</div>

Hash equality right now ignores the default values. So a == b may be true even if a\[0\] == b\[0\] would be false. Is this behaviour intended ? irb(main):001:0\> a = Hash.new(0) =\> {} irb(main):002:0\> b = Hash.new(42) =\>…

---

## [Ruby and Eclipse](https://www.ruby-forum.com/t/ruby-and-eclipse/103544)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 12:38am UTC](https://www.ruby-forum.com/t/ruby-and-eclipse/103544 "2007-05-08T00:38:24Z")

</div>

Greetings! I have been trying to get eclipse to where it can deal with ruby more or less as it does with java. I am looking for some color coding, code completion and, if possible, even debugging. So far, I am comin…

---

## [Passing by value of object of a model](https://www.ruby-forum.com/t/passing-by-value-of-object-of-a-model/103501)

<div class="topic-metadata">

**Author:** [@arjun\_ghosh](https://www.ruby-forum.com/u/arjun_ghosh)\
**Replies:** 12\
**Last updated:** [May 8, 2007, 12:38am UTC](https://www.ruby-forum.com/t/passing-by-value-of-object-of-a-model/103501 "2007-05-08T00:38:24Z")

</div>

Hi, can anyone tell me - is it possible to pass a string name equivalent of a model name(example:- have a model called food\_dept and i am passing the string “food\_dept” to a method) and then covert(or cast) it to its …

---

## [VIM and IRB](https://www.ruby-forum.com/t/vim-and-irb/103467)

<div class="topic-metadata">

**Author:** [@lobbr](https://www.ruby-forum.com/u/lobbr)\
**Replies:** 3\
**Last updated:** [May 8, 2007, 12:15am UTC](https://www.ruby-forum.com/t/vim-and-irb/103467 "2007-05-08T00:15:22Z")

</div>

Hi, my favourite editor for programming is Vim. When editing some ruby-scripts I usually have an xterm open with a running irb-session. When testing some code snippets, I copy & paste them to IRB. In Emacs I could ev…

---

## [Net::SSH performance question](https://www.ruby-forum.com/t/net-ssh-performance-question/103555)

<div class="topic-metadata">

**Author:** [@knohr](https://www.ruby-forum.com/u/knohr)\
**Replies:** 1\
**Last updated:** [May 7, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/net-ssh-performance-question/103555 "2007-05-07T23:49:17Z")

</div>

I am using Net::SSH to execute scripts on a remote server. The script that it executes takes a long time to complete, and dumps allot of stuff to stdout. If i allow the script to run as is, this causes ruby (on the …

---

## [Configuration Options in a new gem](https://www.ruby-forum.com/t/configuration-options-in-a-new-gem/103559)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/configuration-options-in-a-new-gem/103559 "2007-05-07T22:39:47Z")

</div>

Hi all, I am learning how to create my own gems today, but I have not been able to find out how to configure the gem to accept configuration arguments. If that didn’t make any sense let me show you what I mean In my …

---

## [Configuration Options in a new gem](https://www.ruby-forum.com/t/configuration-options-in-a-new-gem/103556)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/configuration-options-in-a-new-gem/103556 "2007-05-07T22:15:55Z")

</div>

Hi all, I am learning how to create my own gems today, but I have not been able to find out how to configure the gem to accept configuration arguments. If that didn’t make any sense let me show you what I mean In my …

---

## [Meeting Announcement - New Haven Ruby Brigade](https://www.ruby-forum.com/t/meeting-announcement-new-haven-ruby-brigade/103542)

<div class="topic-metadata">

**Author:** [@nanouk](https://www.ruby-forum.com/u/nanouk)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 7:00pm UTC](https://www.ruby-forum.com/t/meeting-announcement-new-haven-ruby-brigade/103542 "2007-05-07T19:00:37Z")

</div>

This Wednesday, May 9th, is the second Wednesday of the month–so it’s time for the May meeting of the New Haven Ruby Brigade, from 7 to 9pm. It will be held at Au Bon Pain, One Broadway (corner of York and Elm), New …

---

## [Vim/Ruby Configuration Files, 2007.05.07](https://www.ruby-forum.com/t/vim-ruby-configuration-files-2007-05-07/103535)

<div class="topic-metadata">

**Author:** [@Doug\_K](https://www.ruby-forum.com/u/Doug_K)\
**Replies:** 0\
**Last updated:** [May 7, 2007, 5:24pm UTC](https://www.ruby-forum.com/t/vim-ruby-configuration-files-2007-05-07/103535 "2007-05-07T17:24:28Z")

</div>

G’day folks, A new release of Vim/Ruby has just been uploaded to RubyForge. This is intended as the final release before Vim 7.1 ships in the next few days. It would be helpful if any major issues were reported as s…

---

## [C DSL anyone?](https://www.ruby-forum.com/t/c-dsl-anyone/103172)

<div class="topic-metadata">

**Author:** [@bpauly](https://www.ruby-forum.com/u/bpauly)\
**Replies:** 14\
**Last updated:** [May 7, 2007, 2:24pm UTC](https://www.ruby-forum.com/t/c-dsl-anyone/103172 "2007-05-07T14:24:02Z")

</div>

Just curious, is anybody working on a C language DSL that could generate C code. I’m kinda interested in how it may be possible to use RSpec to unit test C code in a nice way. My first attempt at a C DSL allows the f…

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

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