# Ruby

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

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

---

## [Super](https://www.ruby-forum.com/t/super/185526)

<div class="topic-metadata">

**Author:** [@ibrahim](https://www.ruby-forum.com/u/ibrahim)\
**Replies:** 0\
**Last updated:** [March 22, 2010, 9:45am UTC](https://www.ruby-forum.com/t/super/185526 "2010-03-22T09:45:57Z")

</div>

;;;;;;;;;;;;;;;;;;;; ibrahim ;;;;;;;;;;;;;;;;

---

## [\[ANN\] Dfect 2.0.0 (2010-03-21)](https://www.ruby-forum.com/t/ann-dfect-2-0-0-2010-03-21/185520)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 0\
**Last updated:** [March 22, 2010, 6:01am UTC](https://www.ruby-forum.com/t/ann-dfect-2-0-0-2010-03-21/185520 "2010-03-22T06:01:45Z")

</div>

Dfect 2.0.0 (2010-03-21) Assertion testing library for Ruby http://snk.tuxfamily.org/lib/dfect/ Dfect is an assertion testing library for Ruby that emphasizes a simple asserti…

---

## [\[FEATURE:trunk\] EncDet again](https://www.ruby-forum.com/t/feature-trunk-encdet-again/156811)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 22\
**Last updated:** [March 22, 2010, 4:11am UTC](https://www.ruby-forum.com/t/feature-trunk-encdet-again/156811 "2010-03-22T04:11:45Z")

</div>

Yuguie$B$G$9!#e(B ZnZe$B$5$s$NF|5-e(B(http://znz.s1.xrea.com/t/?date=20090102#c01 )e$B7PM3$G$+$D$Fe(B e$B$Ne(BEncDete$B%i%$%V%i%j$N5DO@e(B\[ruby-dev:33628\]e$B$r;W$$=P$7$^$7$?!#e(B e$B$5$F!"8=:\_;d$,CN$k8B$je(BRDoce$B$H…

---

## [A regexp?](https://www.ruby-forum.com/t/a-regexp/185514)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 2\
**Last updated:** [March 22, 2010, 4:05am UTC](https://www.ruby-forum.com/t/a-regexp/185514 "2010-03-22T04:05:18Z")

</div>

Hi All! Thank you in advance! :slight\_smile: I am parsing through /var/log/mail.log via regexp and I need to skip date lines that are NOT followed by to|from|connect. Here is my code: mailog = “/var/log/mail.…

---

## [A humble start on a Boid System Vocabulary -](https://www.ruby-forum.com/t/a-humble-start-on-a-boid-system-vocabulary/185508)

<div class="topic-metadata">

**Author:** [@thunk](https://www.ruby-forum.com/u/thunk)\
**Replies:** 0\
**Last updated:** [March 22, 2010, 12:35am UTC](https://www.ruby-forum.com/t/a-humble-start-on-a-boid-system-vocabulary/185508 "2010-03-22T00:35:43Z")

</div>

I just took a crisp spring bike ride to our coast guard station and spent the whole ride thinking about these Boids again. I’ve been working with them solid for months and somethings that have gradually become clear …

---

## [Why no TextMate for Linux?](https://www.ruby-forum.com/t/why-no-textmate-for-linux/184660)

<div class="topic-metadata">

**Author:** [@thunk](https://www.ruby-forum.com/u/thunk)\
**Replies:** 41\
**Last updated:** [March 21, 2010, 8:18am UTC](https://www.ruby-forum.com/t/why-no-textmate-for-linux/184660 "2010-03-21T08:18:17Z")

</div>

I spent some happy development time in “VisualAge” for Smalltalk + Java and I sure do long for better support than “just an editor”. Seems like Java fit with that IDE amazingly well. So many great features, and that …

---

## [Local gems not loaded in ruby \> 1.9 without custom\_require](https://www.ruby-forum.com/t/local-gems-not-loaded-in-ruby-1-9-without-custom-require/185482)

<div class="topic-metadata">

**Author:** [@bterkuile](https://www.ruby-forum.com/u/bterkuile)\
**Replies:** 0\
**Last updated:** [March 21, 2010, 7:39am UTC](https://www.ruby-forum.com/t/local-gems-not-loaded-in-ruby-1-9-without-custom-require/185482 "2010-03-21T07:39:35Z")

</div>

I have a Kubuntu 9.10 64bit installation. I run ruby 1.8.7 and 1.9.1 next to eachother. gem1.9.1 env returns: … GEM PATHS: /usr/lib/ruby1.9.1/gems/1.9.1 /home/username/.gem/ruby/1.9.1 … but gems installed locally…

---

## [Hash#hash and detecting changes?](https://www.ruby-forum.com/t/hash-hash-and-detecting-changes/185478)

<div class="topic-metadata">

**Author:** [@Space\_Ship\_T](https://www.ruby-forum.com/u/Space_Ship_T)\
**Replies:** 2\
**Last updated:** [March 21, 2010, 7:22am UTC](https://www.ruby-forum.com/t/hash-hash-and-detecting-changes/185478 "2010-03-21T07:22:05Z")

</div>

Hello, I am writing a Rack session class. I want to detect changes to the session so that I don’t write the data to the session store if the underlying hash has not changed. Right now I’m doing the following but it d…

---

## [Kanocc 0.2.0](https://www.ruby-forum.com/t/kanocc-0-2-0/185467)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 3\
**Last updated:** [March 21, 2010, 3:33am UTC](https://www.ruby-forum.com/t/kanocc-0-2-0/185467 "2010-03-21T03:33:15Z")

</div>

Kanocc (Kanocc Ain’t NO Compiler-Compiler) 0.2.0 is released. (Actually it was released a few months ago, but it only recently occurred to me that I could/should announce i here. Sorry…) What is it: Kanocc is a synta…

---

## [IR on Mono build notes - 3/20/2010](https://www.ruby-forum.com/t/ir-on-mono-build-notes-3-20-2010/197031)

<div class="topic-metadata">

**Author:** [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Replies:** 1\
**Last updated:** [March 21, 2010, 2:13am UTC](https://www.ruby-forum.com/t/ir-on-mono-build-notes-3-20-2010/197031 "2010-03-21T02:13:40Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [Modifying Select Elements in Array of Objects](https://www.ruby-forum.com/t/modifying-select-elements-in-array-of-objects/185471)

<div class="topic-metadata">

**Author:** [@glenn\_nz](https://www.ruby-forum.com/u/glenn_nz)\
**Replies:** 3\
**Last updated:** [March 21, 2010, 12:03am UTC](https://www.ruby-forum.com/t/modifying-select-elements-in-array-of-objects/185471 "2010-03-21T00:03:52Z")

</div>

Hi, I have an array of objects, and the objects have some attributes. I’d like to be able to modify selected elements in the array based on any of those attributes. For example, suppose I have a have an array of Alb…

---

## [Kernel#autoload ignores custom monkey patched Kernel#require](https://www.ruby-forum.com/t/kernel-autoload-ignores-custom-monkey-patched-kernel-require/184768)

<div class="topic-metadata">

**Author:** [@lgierth](https://www.ruby-forum.com/u/lgierth)\
**Replies:** 6\
**Last updated:** [March 20, 2010, 11:35pm UTC](https://www.ruby-forum.com/t/kernel-autoload-ignores-custom-monkey-patched-kernel-require/184768 "2010-03-20T23:35:36Z")

</div>

Hi, I’m playing with FakeFS and want to fake Kernel#require. That’s working quite well now, but somehow Kernel#autoload doesn’t recognize my custom #require. The documentation says that #autoload would try to load the …

---

## [Help with Class definition and calling a Ruby Program](https://www.ruby-forum.com/t/help-with-class-definition-and-calling-a-ruby-program/185432)

<div class="topic-metadata">

**Author:** [@raperswil](https://www.ruby-forum.com/u/raperswil)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 11:18pm UTC](https://www.ruby-forum.com/t/help-with-class-definition-and-calling-a-ruby-program/185432 "2010-03-20T23:18:02Z")

</div>

All I am new to Ruby and to OO programming. I need to get the following done which I have written in a function:- def SplitCode(sCodeFile,sListFile) param1: file to extract code from param2: file list to verify with r…

---

## [Wsdl - Webservice Client](https://www.ruby-forum.com/t/wsdl-webservice-client/185106)

<div class="topic-metadata">

**Author:** [@worldfox](https://www.ruby-forum.com/u/worldfox)\
**Replies:** 5\
**Last updated:** [March 20, 2010, 11:16pm UTC](https://www.ruby-forum.com/t/wsdl-webservice-client/185106 "2010-03-20T23:16:52Z")

</div>

Hi, I am learning how to use WSDL but none of the Ruby Cookbook book samples work any longer. So I created this example: #!/usr/bin/ruby require ‘soap/wsdlDriver’ wsdl=‘Abundant Technologies - IT Consulting Experts’ …

---

## [Gateway slow](https://www.ruby-forum.com/t/gateway-slow/185415)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 9\
**Last updated:** [March 20, 2010, 9:52pm UTC](https://www.ruby-forum.com/t/gateway-slow/185415 "2010-03-20T21:52:34Z")

</div>

Hi there, apparently the direction news -\> mailing is broken (or extremely slow). I don’t see a posting I did ~5 hours ago. Anybody with similar experiences? Cheers robert

---

## [Version issues](https://www.ruby-forum.com/t/version-issues/185437)

<div class="topic-metadata">

**Author:** [@murloc](https://www.ruby-forum.com/u/murloc)\
**Replies:** 12\
**Last updated:** [March 20, 2010, 9:31pm UTC](https://www.ruby-forum.com/t/version-issues/185437 "2010-03-20T21:31:30Z")

</div>

I am using ruby 1.8.6 and I have been having some problem using certain methods and stuff. It seems that my ruby wont recognize until loops and also the .collect method dosnt work. Is this normal? If I try to write us…

---

## [Extending RDoc ( or Yard )](https://www.ruby-forum.com/t/extending-rdoc-or-yard/185457)

<div class="topic-metadata">

**Author:** [@bradphelan](https://www.ruby-forum.com/u/bradphelan)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/extending-rdoc-or-yard/185457 "2010-03-20T21:30:20Z")

</div>

I’m using the excelent CouchRest gem and I would like to document my models. For example I have a simple model. class SearchEngines \< CouchRest::ExtendedDocument # Holds the link to the bing search engine prop…

---

## [URI methods for application/x-www-form-urlencoded](https://www.ruby-forum.com/t/uri-methods-for-application-x-www-form-urlencoded/185211)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 4\
**Last updated:** [March 20, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/uri-methods-for-application-x-www-form-urlencoded/185211 "2010-03-20T16:37:03Z")

</div>

e$B:G6a!“@.@%$5$s$,DI2C$7$?e(B URI.encode\_www\_form e$B$J$I!“e(B application/x-www-form-urlencoded e$B$r07$&%a%=%C%I$K$D$$$F!”$$$/$D$+%3%a%s%H$,$”$j$^$9!#e(B URI.encode\_www\_component form e$BMQ$G$“$k$3$H$,%a%=%C%…

---

## [Replace Text at Specific Positions Across Files](https://www.ruby-forum.com/t/replace-text-at-specific-positions-across-files/185304)

<div class="topic-metadata">

**Author:** [@shinyhydra](https://www.ruby-forum.com/u/shinyhydra)\
**Replies:** 11\
**Last updated:** [March 20, 2010, 2:04pm UTC](https://www.ruby-forum.com/t/replace-text-at-specific-positions-across-files/185304 "2010-03-20T14:04:53Z")

</div>

Hello everyone, I’m new to Ruby and after trying to look through a ton of classes and methods, I decided it would be best to ask some more seasoned individuals for help. I’m currently working on a project that essen…

---

## [Problem making an array of arrays (of arrays)](https://www.ruby-forum.com/t/problem-making-an-array-of-arrays-of-arrays/185381)

<div class="topic-metadata">

**Author:** [@xiphr](https://www.ruby-forum.com/u/xiphr)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 2:00pm UTC](https://www.ruby-forum.com/t/problem-making-an-array-of-arrays-of-arrays/185381 "2010-03-20T14:00:47Z")

</div>

Hey, bit of a ruby noob here :slight\_smile: First, hello ruby-forum community. So, here is my problem. I want to create a 5x5 grid, however, each of the ‘cells’ in the grid should be able to hold a variety of values. …

---

## [Question about the evaluation of x = 'foo' if false](https://www.ruby-forum.com/t/question-about-the-evaluation-of-x-foo-if-false/185458)

<div class="topic-metadata">

**Author:** [@AnSSS\_bal\_Rojas](https://www.ruby-forum.com/u/AnSSS_bal_Rojas)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 1:48pm UTC](https://www.ruby-forum.com/t/question-about-the-evaluation-of-x-foo-if-false/185458 "2010-03-20T13:48:29Z")

</div>

Hello, I am kind of lost with the nil result while I am expecting a false: irb(main):001:0\> x = ‘foo’ if false =\> nil irb(main):002:0\> x =\> nil irb(main):003:0\> x = ‘foo’ if true =\> “foo” irb(main):004:0\> x =\> …

---

## [Geocoder](https://www.ruby-forum.com/t/geocoder/185299)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [March 20, 2010, 9:24am UTC](https://www.ruby-forum.com/t/geocoder/185299 "2010-03-20T09:24:30Z")

</div>

I am trying to write a script that uses the rails-geocoder gem to grab the latitude and longitude so I can store those values in my own local table, but am having trouble getting anything to work or to find any decent…

---

## [The Matrix: Code Screen (#230)](https://www.ruby-forum.com/t/the-matrix-code-screen-230/185445)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 0\
**Last updated:** [March 20, 2010, 7:59am UTC](https://www.ruby-forum.com/t/the-matrix-code-screen-230/185445 "2010-03-20T07:59:39Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Is there any way to fin 32 bit or 64 bit version?](https://www.ruby-forum.com/t/is-there-any-way-to-fin-32-bit-or-64-bit-version/185396)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 4\
**Last updated:** [March 20, 2010, 6:38am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-fin-32-bit-or-64-bit-version/185396 "2010-03-20T06:38:19Z")

</div>

Dear friends, Is there any way to find whether the installed ruby is of 32 bit version or 64 bit version. Actually i have installed slackware 13 in 32 bit machine. What would be default ruby version in slackware 13 w…

---

## [\[Bug #2987\] typo$B$N=$@5(B](https://www.ruby-forum.com/t/bug-2987-typo-b-n-5-b/185443)

<div class="topic-metadata">

**Author:** [@Sho\_H](https://www.ruby-forum.com/u/Sho_H)\
**Replies:** 1\
**Last updated:** [March 20, 2010, 5:38am UTC](https://www.ruby-forum.com/t/bug-2987-typo-b-n-5-b/185443 "2010-03-20T05:38:04Z")

</div>

Bug #2987: typoe$B$N=$@5e(B http://redmine.ruby-lang.org/issues/show/2987 e$B5/I\<\<Te(B: Sho H. e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: uby 1.9.2dev (2010-03-20 trunk 26984) \[i686-linux\] e$B$$$/$D$+e(Bt…

---

## [Create charts using the plugin "Ruby processing"](https://www.ruby-forum.com/t/create-charts-using-the-plugin-ruby-processing/185414)

<div class="topic-metadata">

**Author:** [@periyasamy](https://www.ruby-forum.com/u/periyasamy)\
**Replies:** 2\
**Last updated:** [March 20, 2010, 4:47am UTC](https://www.ruby-forum.com/t/create-charts-using-the-plugin-ruby-processing/185414 "2010-03-20T04:47:21Z")

</div>

Hi, Is this possible to create charts(Eg: Scatter chart) using the plugin “Ruby processing”? Anybody have idea plz? Thanks & Regards, Periyasamy.R

---

## [Accessing java classes in Jruby on Rails](https://www.ruby-forum.com/t/accessing-java-classes-in-jruby-on-rails/184839)

<div class="topic-metadata">

**Author:** [@veena](https://www.ruby-forum.com/u/veena)\
**Replies:** 12\
**Last updated:** [March 20, 2010, 2:51am UTC](https://www.ruby-forum.com/t/accessing-java-classes-in-jruby-on-rails/184839 "2010-03-20T02:51:05Z")

</div>

Hai friends, I am a newbie in JRuby on Rails.I have so many java classes which i need to integrate with my Jruby on Rails project. Can you please tell me what are the steps for doing the same… Thanks, Veena

---

## [Sln case sensitivity patch](https://www.ruby-forum.com/t/sln-case-sensitivity-patch/197226)

<div class="topic-metadata">

**Author:** [@C.JSAdams-Collier](https://www.ruby-forum.com/u/C.JSAdams-Collier)\
**Replies:** 0\
**Last updated:** [March 20, 2010, 1:55am UTC](https://www.ruby-forum.com/t/sln-case-sensitivity-patch/197226 "2010-03-20T01:55:42Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [\#instance\_methods on a singleton class](https://www.ruby-forum.com/t/instance-methods-on-a-singleton-class/185413)

<div class="topic-metadata">

**Author:** [@fxn](https://www.ruby-forum.com/u/fxn)\
**Replies:** 1\
**Last updated:** [March 20, 2010, 12:29am UTC](https://www.ruby-forum.com/t/instance-methods-on-a-singleton-class/185413 "2010-03-20T00:29:40Z")

</div>

Given: class C def self.m; end end class D \< C; end the superclass of the singleton class of D is the singleton class of C. However (class \<\< D; self; end).instance\_methods(false) includes m, both in 1.8 and 1.9. …

---

## [Import from future?](https://www.ruby-forum.com/t/import-from-future/185426)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [March 19, 2010, 11:45pm UTC](https://www.ruby-forum.com/t/import-from-future/185426 "2010-03-19T23:45:46Z")

</div>

Is there anyway for a jruby 1.8 app to have access to Process.spawn from the 1.9 side of things? Thx. -rp

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

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