# Ruby

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

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

---

## [OpenSSL with Ruby](https://www.ruby-forum.com/t/openssl-with-ruby/135005)

<div class="topic-metadata">

**Author:** [@vaibhavb](https://www.ruby-forum.com/u/vaibhavb)\
**Replies:** 4\
**Last updated:** [April 27, 2008, 12:31am UTC](https://www.ruby-forum.com/t/openssl-with-ruby/135005 "2008-04-27T00:31:16Z")

</div>

hi all - I’m not sure if this is the correct forum but i was wondering if anyone has successfully done RSA-SHA1 signing with Ruby OpenSSL and interoperated with Java Servers. I’m using the following code but i’m not …

---

## [Subject: doodle 0.1.0 Released](https://www.ruby-forum.com/t/subject-doodle-0-1-0-released/135954)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 0\
**Last updated:** [April 26, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/subject-doodle-0-1-0-released/135954 "2008-04-26T22:56:28Z")

</div>

doodle version 0.1.0 has been released! http://doodle.rubyforge.org Doodle is a gem for simplifying the definition of Ruby classes by making attributes and their properties more declarative. Doodle is eco-friendly: …

---

## [Howto get array.agrep (NOT array.grep)](https://www.ruby-forum.com/t/howto-get-array-agrep-not-array-grep/135910)

<div class="topic-metadata">

**Author:** [@philippeqc](https://www.ruby-forum.com/u/philippeqc)\
**Replies:** 11\
**Last updated:** [April 26, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/howto-get-array-agrep-not-array-grep/135910 "2008-04-26T22:46:31Z")

</div>

People, Is there some way to get agrep working with Ruby arrays? - agrep has some nice, useful features that grep doesn’t . . Thanks, Phil. Philip R. Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275) GPO Bo…

---

## [Status ruby 1.9 rails or 1.8 w/oniguruma](https://www.ruby-forum.com/t/status-ruby-1-9-rails-or-1-8-w-oniguruma/135904)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/status-ruby-1-9-rails-or-1-8-w-oniguruma/135904 "2008-04-26T20:27:44Z")

</div>

what is the official status on v1.9 with rails or how to get vy.n to work w/oniguruma? plz provide a good spot to track dependencies as there doesnt seem to be a definitive answer

---

## [M17N $B$N%j%U%!%l%s%9(B](https://www.ruby-forum.com/t/m17n-b-n-j-u-l-s-9-b/135907)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 3\
**Last updated:** [April 26, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/m17n-b-n-j-u-l-s-9-b/135907 "2008-04-26T17:19:27Z")

</div>

e$B$3$s$K$A$Oe(B sheepman e$B$G$9!#e(B Ruby e$B$NB?8@8l2=$N%j%U%!%l%s%9$r$H$j$“$($:=q$-$^$7$?!#?'!9H4$1$F$$$k=j$,$”$j$^$9$,!"e(B e$BFI$s$G0U8+$r$/$@$5$k$H$&$l$7$$$G$9!#Be$o$j$K3+H/\<T$,\<+J,$G=q$$$F$/$@$5$k$H$b$C$He(B …

---

## [\[ruby-core:16238\]$B$N8!\>Z(B](https://www.ruby-forum.com/t/ruby-core-16238-b-n8-z-b/135823)

<div class="topic-metadata">

**Author:** [@Yukihiro\_M](https://www.ruby-forum.com/u/Yukihiro_M)\
**Replies:** 3\
**Last updated:** [April 26, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/ruby-core-16238-b-n8-z-b/135823 "2008-04-26T16:07:30Z")

</div>

e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B e$B%U%i%s%9HG%Q%C%A%b%s%9%?!\<$G$"$k$H$3$m$Ne(BGuy Decouxe$B$K$h$k%Q%Ce(B e$B%Ae(B\[ruby-core:16238\]e$B$re(B1.8.7e$B$K\<h$j9~$\_$?$$$s$G$9$,!"$3$l$N%A%’%Ce(B e$B%/$r9T$&;~4V$N$"$k?M$O$$$^…

---

## [Ruby -- Mack Framework](https://www.ruby-forum.com/t/ruby-mack-framework/135573)

<div class="topic-metadata">

**Author:** [@jazzezravi](https://www.ruby-forum.com/u/jazzezravi)\
**Replies:** 6\
**Last updated:** [April 26, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/ruby-mack-framework/135573 "2008-04-26T16:04:07Z")

</div>

Hi All, Mack is a framework using ruby. I followed this link to work with this framework. http://www.mackframework.com/2008/04/18/046-the-obligatory-blog-demo-take-2/ I installed Following gems PATH\> gem install ma…

---

## [\[ANN\] Google Group for Mack](https://www.ruby-forum.com/t/ann-google-group-for-mack/135935)

<div class="topic-metadata">

**Author:** [@markbates](https://www.ruby-forum.com/u/markbates)\
**Replies:** 0\
**Last updated:** [April 26, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/ann-google-group-for-mack/135935 "2008-04-26T15:50:29Z")

</div>

Hey everyone, due to popular demand I’ve created a Google group for Mack. It’s at http://groups.google.com/group/mack-framework Enjoy!

---

## [Inverse OOP](https://www.ruby-forum.com/t/inverse-oop/135708)

<div class="topic-metadata">

**Author:** [@martin\_gnu](https://www.ruby-forum.com/u/martin_gnu)\
**Replies:** 8\
**Last updated:** [April 26, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/inverse-oop/135708 "2008-04-26T14:46:03Z")

</div>

Hi: I have always had a doubt about OOP. Usually we have a parent and several child, but what happen if we need the inverse system. for example DBI/DBD APIs.?? I need build map proyections and i want and intermediate…

---

## [Ruby Minimalism](https://www.ruby-forum.com/t/ruby-minimalism/135838)

<div class="topic-metadata">

**Author:** [@aidy](https://www.ruby-forum.com/u/aidy)\
**Replies:** 15\
**Last updated:** [April 26, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/ruby-minimalism/135838 "2008-04-26T12:05:34Z")

</div>

Hi, I have been reading a WikiPedia piece on Minimalist Computing (http:// Minimalism (computing) - Wikipedia). Could we argue that Ruby is a minimal language? Regards Aidy

---

## [How to return more than one object to a block](https://www.ruby-forum.com/t/how-to-return-more-than-one-object-to-a-block/135870)

<div class="topic-metadata">

**Author:** [@darth\_ivan](https://www.ruby-forum.com/u/darth_ivan)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 11:35am UTC](https://www.ruby-forum.com/t/how-to-return-more-than-one-object-to-a-block/135870 "2008-04-26T11:35:37Z")

</div>

Hi, I’m kinda new to blocks, and I’m trying to create my own Rails form builder, which I want to work like this: form\_for … do |f| f.form\_label ‘Some label’ do f.text\_field :something link\_to ‘somewhere’, somewhere…

---

## [Split a sentence by regular expression](https://www.ruby-forum.com/t/split-a-sentence-by-regular-expression/135922)

<div class="topic-metadata">

**Author:** [@pranjal\_jain](https://www.ruby-forum.com/u/pranjal_jain)\
**Replies:** 1\
**Last updated:** [April 26, 2008, 11:07am UTC](https://www.ruby-forum.com/t/split-a-sentence-by-regular-expression/135922 "2008-04-26T11:07:28Z")

</div>

Hi I want to split a sentence by means of regular expression. For example, the sentence is " Hello how r u?" How can i split this ? the way I used is as follows : " matching = Array.new a = gets puts a.split.le…

---

## [Fluent comma](https://www.ruby-forum.com/t/fluent-comma/134737)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 8\
**Last updated:** [April 26, 2008, 9:04am UTC](https://www.ruby-forum.com/t/fluent-comma/134737 "2008-04-26T09:04:42Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B \[ruby-core:16240\] syntax request e$B$G!"9TF,$N%3%s%^$rA0$N9T$Ne(B e$BB3$-$H8+$J$9J8K!3HD%$,Ds0F$5$l$F$$$^$9!#e(B foo( “foo” , “bar” , “baz” ) h = { 1 =\> “1” , 2 =\> “2” , 3 =\> “3” } Haske…

---

## [Reading a number of files and and searching for text](https://www.ruby-forum.com/t/reading-a-number-of-files-and-and-searching-for-text/135824)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 3\
**Last updated:** [April 26, 2008, 7:25am UTC](https://www.ruby-forum.com/t/reading-a-number-of-files-and-and-searching-for-text/135824 "2008-04-26T07:25:13Z")

</div>

Hi Guys, I have a number of results files inside a /results folder such as /results/results1.txt /results/results2.txt … … and so on. Inside each of these files are messages either This feature Passed This featur…

---

## [Expected kelse](https://www.ruby-forum.com/t/expected-kelse/135754)

<div class="topic-metadata">

**Author:** [@erik](https://www.ruby-forum.com/u/erik)\
**Replies:** 4\
**Last updated:** [April 26, 2008, 6:37am UTC](https://www.ruby-forum.com/t/expected-kelse/135754 "2008-04-26T06:37:44Z")

</div>

The following piece of code returns: syntax error, unexpected kELSE, expecting kEND When I delete this block of code all works well - I have read that this may be an issue with copied or pasted code, UTF-8 issues etc…

---

## [Code Parsing](https://www.ruby-forum.com/t/code-parsing/135850)

<div class="topic-metadata">

**Author:** [@rbermejo](https://www.ruby-forum.com/u/rbermejo)\
**Replies:** 2\
**Last updated:** [April 26, 2008, 1:50am UTC](https://www.ruby-forum.com/t/code-parsing/135850 "2008-04-26T01:50:32Z")

</div>

Dear ruby-list /. I have a text I file where I need to parse out all Table data-text similar to the one below. more code … Table MyTable (real a, real b) { settings="default"; a= 0 { max= { 0,0,0,0} mix = { 0,0,…

---

## [A couple of questions regarding class design](https://www.ruby-forum.com/t/a-couple-of-questions-regarding-class-design/135306)

<div class="topic-metadata">

**Author:** [@Michael\_WSRyder](https://www.ruby-forum.com/u/Michael_WSRyder)\
**Replies:** 34\
**Last updated:** [April 26, 2008, 1:35am UTC](https://www.ruby-forum.com/t/a-couple-of-questions-regarding-class-design/135306 "2008-04-26T01:35:58Z")

</div>

I am part way through implementing a Rational math class to further my understanding of Ruby and had a couple of questions that I can’t find the answer to in Pickaxe. The first question regards creating a new instance…

---

## [Pretty folder tree script](https://www.ruby-forum.com/t/pretty-folder-tree-script/135787)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 19\
**Last updated:** [April 26, 2008, 1:06am UTC](https://www.ruby-forum.com/t/pretty-folder-tree-script/135787 "2008-04-26T01:06:05Z")

</div>

Hola, My boss asked me to make a nice map of the directories on our web server for an upcoming meeting. I’m aware of several ways to approach this, like find and tree, etc, but I’m a Ruby addict, so that’s what I’m u…

---

## [In FileUtils.cp\_r \*not\* replacing read-only files](https://www.ruby-forum.com/t/in-fileutils-cp-r-not-replacing-read-only-files/135883)

<div class="topic-metadata">

**Author:** [@cbcbcb](https://www.ruby-forum.com/u/cbcbcb)\
**Replies:** 5\
**Last updated:** [April 26, 2008, 12:15am UTC](https://www.ruby-forum.com/t/in-fileutils-cp-r-not-replacing-read-only-files/135883 "2008-04-26T00:15:40Z")

</div>

Hi everyone, I’m porting some ruby code from MacOS to Windows XP. The code works fine on the Mac, but not on Windows as you can see. This is the code that’s causing the error (line 278 of buildwebclient.rb): FileU…

---

## [ANN: Dao 1.0 preview version is released](https://www.ruby-forum.com/t/ann-dao-1-0-preview-version-is-released/135898)

<div class="topic-metadata">

**Author:** [@Limin\_Fu](https://www.ruby-forum.com/u/Limin_Fu)\
**Replies:** 0\
**Last updated:** [April 26, 2008, 12:11am UTC](https://www.ruby-forum.com/t/ann-dao-1-0-preview-version-is-released/135898 "2008-04-26T00:11:32Z")

</div>

Hi, I am please to announce a preview release of Dao (1.0). Dao is a simple yet powerful object-oriented programming language featured by, optional typing, BNF-like macro system, regular expression, multidimensional …

---

## [HTTP::Post - HTTP::Get (Can someone help me?)](https://www.ruby-forum.com/t/http-post-http-get-can-someone-help-me/135596)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 17\
**Last updated:** [April 25, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/http-post-http-get-can-someone-help-me/135596 "2008-04-25T21:15:54Z")

</div>

Hello, I’m lost. Can someone explain good to me what the difference is between these 2 methods? I have a HTTP:Post and when i check the body, i see exacly what he has to do. But it doesn’t do it in reality. How can…

---

## [\[ANN\] Mack Framework 0.4.7](https://www.ruby-forum.com/t/ann-mack-framework-0-4-7/135871)

<div class="topic-metadata">

**Author:** [@markbates](https://www.ruby-forum.com/u/markbates)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 8:43pm UTC](https://www.ruby-forum.com/t/ann-mack-framework-0-4-7/135871 "2008-04-25T20:43:55Z")

</div>

0.4.7 is a MUST have release. It fixes a few good bugs, like the ability to upload files now works! Plus it introduces a few nice little goodies. File uploads are now pretty easy to do. Thereâ€™s a new Mack::Request…

---

## [Blackhawk down](https://www.ruby-forum.com/t/blackhawk-down/135808)

<div class="topic-metadata">

**Author:** [@ara\_howard](https://www.ruby-forum.com/u/ara_howard)\
**Replies:** 4\
**Last updated:** [April 25, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/blackhawk-down/135808 "2008-04-25T19:37:04Z")

</div>

a @ http://codeforpeople.com/

---

## [Connection error](https://www.ruby-forum.com/t/connection-error/135859)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 2\
**Last updated:** [April 25, 2008, 6:57pm UTC](https://www.ruby-forum.com/t/connection-error/135859 "2008-04-25T18:57:06Z")

</div>

Hello i got a 500 Internal Server Error. I checked the log file, the error appears to be an issue from the connection. #\<Errorno::ECONNABORTED: an established connection was aborted by the software in your host machi…

---

## [Books - Ruby - Mechanize - HTTP](https://www.ruby-forum.com/t/books-ruby-mechanize-http/135847)

<div class="topic-metadata">

**Author:** [@fred](https://www.ruby-forum.com/u/fred)\
**Replies:** 2\
**Last updated:** [April 25, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/books-ruby-mechanize-http/135847 "2008-04-25T18:22:44Z")

</div>

Hello, Anybody knows a good book with examples to understand Mechanize and the HTTP protocols (GET and POST)? I don’t understand it and i can’t find the right books about these topics specific. Thanks

---

## [Ruby Quiz postponed one week](https://www.ruby-forum.com/t/ruby-quiz-postponed-one-week/135849)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 0\
**Last updated:** [April 25, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/ruby-quiz-postponed-one-week/135849 "2008-04-25T17:46:20Z")

</div>

Sorry for the late notice… I will provide a new quiz next week. – Matthew M. removed\_email\_address@domain.invalid

---

## [Shoes and require](https://www.ruby-forum.com/t/shoes-and-require/135623)

<div class="topic-metadata">

**Author:** [@adler24](https://www.ruby-forum.com/u/adler24)\
**Replies:** 5\
**Last updated:** [April 25, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/shoes-and-require/135623 "2008-04-25T17:42:14Z")

</div>

Helo I’m playing a little bit around with shoes. Their i have a problem with require. When i want to require a file witch is in the same Directory like the Shoes.app File i get a “no such file to load error”. Is it n…

---

## [Find.prune if ( filename!= ".java") is odd?](https://www.ruby-forum.com/t/find-prune-if-filename-java-is-odd/135837)

<div class="topic-metadata">

**Author:** [@martinevans](https://www.ruby-forum.com/u/martinevans)\
**Replies:** 2\
**Last updated:** [April 25, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/find-prune-if-filename-java-is-odd/135837 "2008-04-25T17:41:02Z")

</div>

Hi all. Today I had to do a recursive touch on all Java files in a certain directory. Since I recently found that super cool ruby Find example I figured I’d use that. However, my first try at a solution didn’t work. …

---

## [How to override a method defined in Ruby module](https://www.ruby-forum.com/t/how-to-override-a-method-defined-in-ruby-module/134050)

<div class="topic-metadata">

**Author:** [@sonar](https://www.ruby-forum.com/u/sonar)\
**Replies:** 5\
**Last updated:** [April 25, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/how-to-override-a-method-defined-in-ruby-module/134050 "2008-04-25T16:19:01Z")

</div>

Greetings, I’m new in Ruby, so my question might seem a bit stupid. I have a third-party module wired into my project (ActiveScaffold). It defines some empty method: module ActiveScaffold::Actions module Update …

---

## [Non-destructive option parser?](https://www.ruby-forum.com/t/non-destructive-option-parser/135789)

<div class="topic-metadata">

**Author:** [@kyle\_s](https://www.ruby-forum.com/u/kyle_s)\
**Replies:** 2\
**Last updated:** [April 25, 2008, 4:09pm UTC](https://www.ruby-forum.com/t/non-destructive-option-parser/135789 "2008-04-25T16:09:00Z")

</div>

From playing with optionparser today, it appears to be a destructive tokenizer, albeit a really cool one. I was just wondering if there is some sort of non-destructive versions of it? Thanks, Kyle

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

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