# Ruby

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

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

---

## [Ruport combing tables and writing to PDF](https://www.ruby-forum.com/t/ruport-combing-tables-and-writing-to-pdf/174500)

<div class="topic-metadata">

**Author:** [@marcisco0](https://www.ruby-forum.com/u/marcisco0)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 5:59pm UTC](https://www.ruby-forum.com/t/ruport-combing-tables-and-writing-to-pdf/174500 "2009-08-27T17:59:27Z")

</div>

Hi there, I’m still learning my way through Ruby and recently I’m really struggling with Ruport. I’ve referred to the lulu book, api docs, examples and I…just can’t get my head around this… I want to specifically un…

---

## [Ruby loading libs (RSS)](https://www.ruby-forum.com/t/ruby-loading-libs-rss/174472)

<div class="topic-metadata">

**Author:** [@f1r3](https://www.ruby-forum.com/u/f1r3)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/ruby-loading-libs-rss/174472 "2009-08-27T16:48:09Z")

</div>

I’m following the instructions here http://www.cozmixng.org/~rwiki/?cmd=view;name=RSS+Parser%3A%3AREADME.en to update RSS. When I run RSS::VERSION in irb, it gives me irb(main):003:0\> require ‘rss’ =\> true irb(main…

---

## [Yaml Problem](https://www.ruby-forum.com/t/yaml-problem/174487)

<div class="topic-metadata">

**Author:** [@gganesh](https://www.ruby-forum.com/u/gganesh)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 1:37pm UTC](https://www.ruby-forum.com/t/yaml-problem/174487 "2009-08-27T13:37:05Z")

</div>

Hi, in Ruby P., I am receiving output from Java program command as, ProcessNum: !java.math.BigDecimal str: “305002773” “@taguri”: tag:yaml.org,2002:java.math.BigDecimal As I expecting, ProcessNum value is “3050027…

---

## [A bizarre problem with data= methods](https://www.ruby-forum.com/t/a-bizarre-problem-with-data-methods/174479)

<div class="topic-metadata">

**Author:** [@revlob](https://www.ruby-forum.com/u/revlob)\
**Replies:** 3\
**Last updated:** [August 27, 2009, 12:50pm UTC](https://www.ruby-forum.com/t/a-bizarre-problem-with-data-methods/174479 "2009-08-27T12:50:47Z")

</div>

Hi all. I have found an error that does not understand. Look this simple code: class Foo def value=(data) puts “Look #{data}” end end f = Foo.new.value = “at me” # =\> Look at me Great! A little assigner that work…

---

## [Regexp which matches nothing?](https://www.ruby-forum.com/t/regexp-which-matches-nothing/174482)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 6\
**Last updated:** [August 27, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/regexp-which-matches-nothing/174482 "2009-08-27T12:15:45Z")

</div>

How i can construct regexp, which will always matches nothing? For example: “xxxxxxx”.match /my\_special\_regexp/ =\> should be ALWAYS nil

---

## [Ruby/DL - cross-thread violation on rb\_thread\_schedule()](https://www.ruby-forum.com/t/ruby-dl-cross-thread-violation-on-rb-thread-schedule/174054)

<div class="topic-metadata">

**Author:** [@grish](https://www.ruby-forum.com/u/grish)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 12:10pm UTC](https://www.ruby-forum.com/t/ruby-dl-cross-thread-violation-on-rb-thread-schedule/174054 "2009-08-27T12:10:13Z")

</div>

I think I’m a little over my head here and was hoping someone more experienced can explain this to me, a novice trying to learn ruby. I’m currently trying to use a win32 DLL to get a live feed of data from a server. W…

---

## [Spaces in strings](https://www.ruby-forum.com/t/spaces-in-strings/174396)

<div class="topic-metadata">

**Author:** [@joness](https://www.ruby-forum.com/u/joness)\
**Replies:** 9\
**Last updated:** [August 27, 2009, 10:19am UTC](https://www.ruby-forum.com/t/spaces-in-strings/174396 "2009-08-27T10:19:09Z")

</div>

I have a string like ‘1 334.64’ and I need to remove the space so that it becomes ‘1334.64’. I have I think ruby 1.6 in home computer where worked gsub!(/\\s/, ‘’) but in other computer I have ruby 1.7 and it doesn’t …

---

## [Automating online banking login & checking for new transactions - what's best approach? (e.g. which](https://www.ruby-forum.com/t/automating-online-banking-login-checking-for-new-transactions-whats-best-approach-e-g-which/174454)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [August 27, 2009, 10:16am UTC](https://www.ruby-forum.com/t/automating-online-banking-login-checking-for-new-transactions-whats-best-approach-e-g-which/174454 "2009-08-27T10:16:49Z")

</div>

Hi, I’m interested in automating online banking login & checking for new transactions - what’s best approach? (e.g. which gems/libraries etc) Anyone already built something that does this? For example login each hou…

---

## [Search keywords inside of directories and files](https://www.ruby-forum.com/t/search-keywords-inside-of-directories-and-files/174221)

<div class="topic-metadata">

**Author:** [@ahmet](https://www.ruby-forum.com/u/ahmet)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 8:30am UTC](https://www.ruby-forum.com/t/search-keywords-inside-of-directories-and-files/174221 "2009-08-27T08:30:22Z")

</div>

I need some help about keywords searching in directory and files. I have a directory dirs–a |–b |–c and files a–\>a1.txt |–\>a2.txt |–\>a3.txt I can lsit all files and directories like this, require ‘find’ dirs…

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/174425)

<div class="topic-metadata">

**Author:** [@DoyleS\_John](https://www.ruby-forum.com/u/DoyleS_John)\
**Replies:** 4\
**Last updated:** [August 27, 2009, 8:12am UTC](https://www.ruby-forum.com/t/unsubscribe/174425 "2009-08-27T08:12:08Z")

</div>

help unsubscribe Finance Australian Business Number (ABN): 61 970 632 495 Finance Web S.: www.finance.gov.au IMPORTANT: This transmission is intended only for the use of the addressee and may contain confidenti…

---

## [Calling method from another class](https://www.ruby-forum.com/t/calling-method-from-another-class/174317)

<div class="topic-metadata">

**Author:** [@little\_kostas](https://www.ruby-forum.com/u/little_kostas)\
**Replies:** 14\
**Last updated:** [August 27, 2009, 7:58am UTC](https://www.ruby-forum.com/t/calling-method-from-another-class/174317 "2009-08-27T07:58:17Z")

</div>

Hi guys, i have 2 classes say class A and class B. How can the A object that i’ll create to call a class B method??? Say we have this code: class A def printA puts = “Class A method” end end class B def printB …

---

## [\[Bug #2005\] abort at TestRand#test\_random\_range](https://www.ruby-forum.com/t/bug-2005-abort-at-testrand-test-random-range/174473)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 1\
**Last updated:** [August 27, 2009, 6:57am UTC](https://www.ruby-forum.com/t/bug-2005-abort-at-testrand-test-random-range/174473 "2009-08-27T06:57:48Z")

</div>

Bug #2005: abort at TestRand#test\_random\_range http://redmine.ruby-lang.org/issues/show/2005 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby -v: ruby 1.9.2dev (2009-08-27 trunk 2468…

---

## [Ruby-net-ldap paged search control](https://www.ruby-forum.com/t/ruby-net-ldap-paged-search-control/174467)

<div class="topic-metadata">

**Author:** [@paragados](https://www.ruby-forum.com/u/paragados)\
**Replies:** 0\
**Last updated:** [August 27, 2009, 4:05am UTC](https://www.ruby-forum.com/t/ruby-net-ldap-paged-search-control/174467 "2009-08-27T04:05:07Z")

</div>

Hi, Could anyone help me on how to use the ruby-net-ldap paged search control? I have read in forums that Net::LDAP library supports paged results transparently. My problem is I don’t know how to embed it in my code…

---

## [Ruport problems](https://www.ruby-forum.com/t/ruport-problems/174418)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 3:58am UTC](https://www.ruby-forum.com/t/ruport-problems/174418 "2009-08-27T03:58:44Z")

</div>

I have tried the following code with Ruport 1.6.1: require “rubygems” require “ruport” table=Ruport::Data::Table.load( “foo.csv”,:has\_names=\>true) grouping = Ruport::Data::Grouping(table, :by =\> “name”) grouping.sa…

---

## [Rvm 0.0.21 - Ruby Version Manager](https://www.ruby-forum.com/t/rvm-0-0-21-ruby-version-manager/174465)

<div class="topic-metadata">

**Author:** [@Wayne\_Seguin](https://www.ruby-forum.com/u/Wayne_Seguin)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 3:52am UTC](https://www.ruby-forum.com/t/rvm-0-0-21-ruby-version-manager/174465 "2009-08-27T03:52:18Z")

</div>

Hello everyone! Ruby Version Manager (rvm) (Current version is 0.0.21) rvm is currently in it’s infancy (started it last thursday) however it is already very usable with many features. Description: Easy installation…

---

## [||= with 1.8 and 1.9?](https://www.ruby-forum.com/t/with-1-8-and-1-9/174416)

<div class="topic-metadata">

**Author:** [@trevoke](https://www.ruby-forum.com/u/trevoke)\
**Replies:** 29\
**Last updated:** [August 27, 2009, 2:46am UTC](https://www.ruby-forum.com/t/with-1-8-and-1-9/174416 "2009-08-27T02:46:44Z")

</div>

A friend of mine on Twitter recently posted this tidbit of code: class OrOrEquals def test @test end def test=(test) @test = test ‘not test’ end end p (OrOrEquals.new.test = ‘test’) ruby 1.8 returns ‘test’ rub…

---

## [Question about Nokogiri xpath](https://www.ruby-forum.com/t/question-about-nokogiri-xpath/174462)

<div class="topic-metadata">

**Author:** [@spinhoo](https://www.ruby-forum.com/u/spinhoo)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 1:00am UTC](https://www.ruby-forum.com/t/question-about-nokogiri-xpath/174462 "2009-08-27T01:00:53Z")

</div>

I am trying to parse an xml file using nokogiri. If any body has experience with nokogiri. I request you to help. Sample xml file. It can be seen that Column element has two chil…

---

## [Query : How to Count the Value or No of Items in Select List](https://www.ruby-forum.com/t/query-how-to-count-the-value-or-no-of-items-in-select-list/174456)

<div class="topic-metadata">

**Author:** [@rasein](https://www.ruby-forum.com/u/rasein)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/query-how-to-count-the-value-or-no-of-items-in-select-list/174456 "2009-08-26T23:21:53Z")

</div>

Hi Everybody… I am new to Ruby, Watir i am automating a web based application My web page has Drop down list box or Select list box It has 10 items ( Eg: 10 Diff car names Audi, BMW, Mazda etc) or it can contain N o…

---

## [Platform independent distribution of Ruby apps](https://www.ruby-forum.com/t/platform-independent-distribution-of-ruby-apps/174428)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 3\
**Last updated:** [August 26, 2009, 10:12pm UTC](https://www.ruby-forum.com/t/platform-independent-distribution-of-ruby-apps/174428 "2009-08-26T22:12:45Z")

</div>

I would like to take a Ruby app that I’ve written (that includes a bunch of .rb files and other resources) and to other platforms (I am using Mac OS X). More particulary, I’d like to write as simple as possible instru…

---

## [Favourite irbrc tips?](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [August 26, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/favourite-irbrc-tips/174423 "2009-08-26T21:45:49Z")

</div>

Other than installing wirble, what ought I be doing to enhance my irb session? martin

---

## [Find string, get line number or position, then restart at +1](https://www.ruby-forum.com/t/find-string-get-line-number-or-position-then-restart-at-1/174366)

<div class="topic-metadata">

**Author:** [@bloodniece](https://www.ruby-forum.com/u/bloodniece)\
**Replies:** 9\
**Last updated:** [August 26, 2009, 9:34pm UTC](https://www.ruby-forum.com/t/find-string-get-line-number-or-position-then-restart-at-1/174366 "2009-08-26T21:34:53Z")

</div>

Hi All, First off I want to say this list is very helpful and people are nice and polite compared to many other email lists and forums I have been on for years and years, notably the camel lists. Thank you! Ok so I h…

---

## [Help with C embedding](https://www.ruby-forum.com/t/help-with-c-embedding/174387)

<div class="topic-metadata">

**Author:** [@khatharr](https://www.ruby-forum.com/u/khatharr)\
**Replies:** 4\
**Last updated:** [August 26, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/help-with-c-embedding/174387 "2009-08-26T21:10:35Z")

</div>

I’m having trouble with a weird error that I don’t understand the cause of. I’m pretty new to embedding so I’m sure I’m overlooking something. The relevant C code is as follows: VALUE input\_trigger(VALUE button) { Ps…

---

## [Eventmachine and threads](https://www.ruby-forum.com/t/eventmachine-and-threads/174356)

<div class="topic-metadata">

**Author:** [@schmurfy](https://www.ruby-forum.com/u/schmurfy)\
**Replies:** 3\
**Last updated:** [August 26, 2009, 7:25pm UTC](https://www.ruby-forum.com/t/eventmachine-and-threads/174356 "2009-08-26T19:25:17Z")

</div>

Hi, I have an eventmachine machine ruby server which goal is to serve requests but for each request it needs to do some requests to others servers, I know this could be achievied easily in a full asynchronous way but…

---

## [Re: Problem with Iconv](https://www.ruby-forum.com/t/re-problem-with-iconv/174440)

<div class="topic-metadata">

**Author:** [@Axel\_E](https://www.ruby-forum.com/u/Axel_E)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 7:24pm UTC](https://www.ruby-forum.com/t/re-problem-with-iconv/174440 "2009-08-26T19:24:06Z")

</div>

Dear Joao, you can update to Ruby 1.9, put the line coding: utf-8 at the beginning of a non-ASCII script. On Ubuntu 9.04 and ruby 1.9.1p243 (2009-07-16 revision 24175) \[i686-linux\], I get zazolc gesla jazn fr…

---

## [Packaging - distribution](https://www.ruby-forum.com/t/packaging-distribution/174316)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 5\
**Last updated:** [August 26, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/packaging-distribution/174316 "2009-08-26T19:08:17Z")

</div>

I am looking for best practices for using a multi-file body of ruby code within a different multi-file body of ruby code. In other words, let’s say I have this: system/ stand\_alone\_sub.rb lib/ sub\_alpha.rb sub\_bra…

---

## [\*\*\*\*\*Language Institutes \*\*\*\*\*\*\*](https://www.ruby-forum.com/t/language-institutes/174437)

<div class="topic-metadata">

**Author:** [@uzma\_wahid](https://www.ruby-forum.com/u/uzma_wahid)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/language-institutes/174437 "2009-08-26T19:08:17Z")

</div>

This is an educational site ,which provides loads of information regarding many world wide spoken languages. Beside that it gives detailed knowledge of different language institute at national and international level. …

---

## [Random#rand](https://www.ruby-forum.com/t/random-rand/174345)

<div class="topic-metadata">

**Author:** [@nobu](https://www.ruby-forum.com/u/nobu)\
**Replies:** 2\
**Last updated:** [August 26, 2009, 7:07pm UTC](https://www.ruby-forum.com/t/random-rand/174345 "2009-08-26T19:07:42Z")

</div>

e$B$J$+$@$G$9!#e(B e$B:#$Ne(Btrunke$B$K$O!";n83E\*$Ke(BRandome$B%/%i%9$,$"$j$^$9!#$3$l$K$Oe(Binte$B$He(B floate$B$H$$$&%a%=%C%I$,$"$j$^$9$,!"e(BKernel#rande$B$H$N8\_49@-$K7g$1$F$$e(B e$B$?$j!“e(BRangee$B$KBP$9$kF0:n$,$o…

---

## [Working with openssl and files](https://www.ruby-forum.com/t/working-with-openssl-and-files/174434)

<div class="topic-metadata">

**Author:** [@Juston\_Davies](https://www.ruby-forum.com/u/Juston_Davies)\
**Replies:** 2\
**Last updated:** [August 26, 2009, 6:44pm UTC](https://www.ruby-forum.com/t/working-with-openssl-and-files/174434 "2009-08-26T18:44:16Z")

</div>

Let me start out by saying all I do is in the name of science, I only say this because what Im about to ask seems unreasonable. I’m trying to: 1.) Take an existing ruby script 2.) Encrypt it 3.) Store the encrypted …

---

## [Embedding an extension](https://www.ruby-forum.com/t/embedding-an-extension/174435)

<div class="topic-metadata">

**Author:** [@mon\_ouie](https://www.ruby-forum.com/u/mon_ouie)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 6:33pm UTC](https://www.ruby-forum.com/t/embedding-an-extension/174435 "2009-08-26T18:33:54Z")

</div>

Hi, I’m using Ruby on the PSP ( a patch has been posted here ;). Now, I’d like to add the socket support to my application. Since there already is a socket extension, I shouldn’t create mine, should I ? The problem i…

---

## [Electronics](https://www.ruby-forum.com/t/electronics/174433)

<div class="topic-metadata">

**Author:** [@Naheed\_Maqsood](https://www.ruby-forum.com/u/Naheed_Maqsood)\
**Replies:** 0\
**Last updated:** [August 26, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/electronics/174433 "2009-08-26T18:30:13Z")

</div>

http://stylefriction.blogspot.com/ In This Site There Is Information About Electrical Appliances, Their Maintenance And Other Related Information Regarding Electrical Appliances.

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

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