# Ruby

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

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

---

## [Ci\_reporter user guide?](https://www.ruby-forum.com/t/ci-reporter-user-guide/109999)

<div class="topic-metadata">

**Author:** [@maung](https://www.ruby-forum.com/u/maung)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 11:01pm UTC](https://www.ruby-forum.com/t/ci-reporter-user-guide/109999 "2007-07-27T23:01:51Z")

</div>

Hi, I am new to ruby. I’ve googled for ci\_reporter user guide, but i found little helpful results. Could anyone have a clue where i can get support for reporter? My real question is how to get xml output ruby. Earlier…

---

## [How to pass arguments by reference in a function](https://www.ruby-forum.com/t/how-to-pass-arguments-by-reference-in-a-function/110532)

<div class="topic-metadata">

**Author:** [@ashishwave](https://www.ruby-forum.com/u/ashishwave)\
**Replies:** 13\
**Last updated:** [July 27, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/how-to-pass-arguments-by-reference-in-a-function/110532 "2007-07-27T22:31:52Z")

</div>

if i pass arguments in a function then they get passed by value. how to get it pased by reference. For example: if i want to swrite my own swap function (not using multiple assignment syntax a,b=b,a) just for example …

---

## [Execute one Ruby script from inside another](https://www.ruby-forum.com/t/execute-one-ruby-script-from-inside-another/110591)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/execute-one-ruby-script-from-inside-another/110591 "2007-07-27T21:58:48Z")

</div>

Is it possible to execute one Ruby script from inside another Ruby script? What is the syntax for this? Can arguments be passed to the second script from inside the first? What about other external programs? Can Ruby …

---

## [Eval versus load and plugins](https://www.ruby-forum.com/t/eval-versus-load-and-plugins/110552)

<div class="topic-metadata">

**Author:** [@rhubarb](https://www.ruby-forum.com/u/rhubarb)\
**Replies:** 3\
**Last updated:** [July 27, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/eval-versus-load-and-plugins/110552 "2007-07-27T21:32:42Z")

</div>

I’m writing a program with a sort of plugin mechanism. Plugins are basically single ruby files defining classes. It’s not exactly a plugin mechanism because there an only be one plugin used. Image the program command …

---

## [Rubypub.com - A Ruby Documentation Wiki](https://www.ruby-forum.com/t/rubypub-com-a-ruby-documentation-wiki/110520)

<div class="topic-metadata">

**Author:** [@bct](https://www.ruby-forum.com/u/bct)\
**Replies:** 21\
**Last updated:** [July 27, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/rubypub-com-a-ruby-documentation-wiki/110520 "2007-07-27T21:30:42Z")

</div>

\[ANN\] Rubypub.com - A Ruby Documentation Wiki Rubypub.com is custom-built documentation wiki for Ruby Gems. Features of note: It’s loosely based on rdoc’s HTML output, although hopefully a bit nicer to look at. Ever…

---

## [Help needed to DRY helpers and proper MVC with Ruby](https://www.ruby-forum.com/t/help-needed-to-dry-helpers-and-proper-mvc-with-ruby/110586)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 1\
**Last updated:** [July 27, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/help-needed-to-dry-helpers-and-proper-mvc-with-ruby/110586 "2007-07-27T21:19:41Z")

</div>

Hello. I’ve got working code, but I don’t think that it’s done properly so any help to make this more efficient and most of all, correct, would be so very appreciated. In my users\_helper.rb file def generate\_sub\_nav …

---

## [How to write a ruby compiler using Java?](https://www.ruby-forum.com/t/how-to-write-a-ruby-compiler-using-java/110535)

<div class="topic-metadata">

**Author:** [@shiwei\_zhang](https://www.ruby-forum.com/u/shiwei_zhang)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/how-to-write-a-ruby-compiler-using-java/110535 "2007-07-27T21:13:41Z")

</div>

Hi, I am using Java to write a Ruby compiler. I build up the editor by Java SWing. Now the tough task for me is syntax parser. Does someone have some suggestions about how to check the validity of ruby codes in the e…

---

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

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 7:47pm UTC](https://www.ruby-forum.com/t/unsubscribe/110582 "2007-07-27T19:47:29Z")

</div>

unsubscribe

---

## [Triming characters from the front of a String](https://www.ruby-forum.com/t/triming-characters-from-the-front-of-a-string/110569)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/triming-characters-from-the-front-of-a-string/110569 "2007-07-27T17:57:16Z")

</div>

For the life of me I can’t figure out an easy way to remove the first couple of characters from a String. I looked in my Ruby book, searched online, and checked the documentation for the String class. I must be missin…

---

## [Help with updating to 1.8.6](https://www.ruby-forum.com/t/help-with-updating-to-1-8-6/110563)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/help-with-updating-to-1-8-6/110563 "2007-07-27T16:49:31Z")

</div>

Hi, I need help. I’ve updated to 1.8.6, but, I’ve lost some stuff I had. I thought I’d copied all of my “object” files I’d created and then copied them back in, ut, I obviously forgot some of them. So, I’m dealing wit…

---

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

<div class="topic-metadata">

**Author:** [@Raffaele\_Bello](https://www.ruby-forum.com/u/Raffaele_Bello)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/unsubscribe/110570 "2007-07-27T16:47:06Z")

</div>

unsubscribe

---

## [OpenGL Wrapper Bindings](https://www.ruby-forum.com/t/opengl-wrapper-bindings/110565)

<div class="topic-metadata">

**Author:** [@jazcyk](https://www.ruby-forum.com/u/jazcyk)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/opengl-wrapper-bindings/110565 "2007-07-27T16:36:04Z")

</div>

Hi all, I’ve been getting some visualisation working using the ruby-opengl OpenGL/GLUT wrapper. One thing that is hampering my progress is not having a mapping from the Ruby commands to the GLUT/GL commands, for exam…

---

## [For matz to do](https://www.ruby-forum.com/t/for-matz-to-do/110561)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 5\
**Last updated:** [July 27, 2007, 4:03pm UTC](https://www.ruby-forum.com/t/for-matz-to-do/110561 "2007-07-27T16:03:00Z")

</div>

i’d like to see two new ruby language additions… 1.) in the sprintf formatting command a way to format for business… i.e… processing payroll chks…with asterik fill AND commas and space fill AND commas or anything fill…

---

## [Regexp's comparison](https://www.ruby-forum.com/t/regexps-comparison/110559)

<div class="topic-metadata">

**Author:** [@sirtyman](https://www.ruby-forum.com/u/sirtyman)\
**Replies:** 7\
**Last updated:** [July 27, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/regexps-comparison/110559 "2007-07-27T15:30:23Z")

</div>

Hi guys, I have string i.e: a b c c c a c d For example I would like to match all c lines with regexp. How can I create the regexp if c lines can be ordered differently i.e: a c b c c a d I will be app…

---

## [Getting started with full sized apps... how?](https://www.ruby-forum.com/t/getting-started-with-full-sized-apps-how/110494)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 8\
**Last updated:** [July 27, 2007, 3:13pm UTC](https://www.ruby-forum.com/t/getting-started-with-full-sized-apps-how/110494 "2007-07-27T15:13:36Z")

</div>

Ok. First, I should say that I think highly of the Ruby language. I have written cool snippets and life is good. I should say that I have developed in many languages currently focused on Delphi. Now, when I write an…

---

## [WIN32OLERuntimeError -- Using ruby for Solidworks](https://www.ruby-forum.com/t/win32oleruntimeerror-using-ruby-for-solidworks/110553)

<div class="topic-metadata">

**Author:** [@aaron](https://www.ruby-forum.com/u/aaron)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 2:00pm UTC](https://www.ruby-forum.com/t/win32oleruntimeerror-using-ruby-for-solidworks/110553 "2007-07-27T14:00:45Z")

</div>

I want to use Ruby to manipulate the famous 3D software Solidworks though win32ole. I just did this in the irb: require ‘win32ole’ =\>true sw = WIN32OLE.new(‘SldWorks.Application’) Then I found the Solidworks’ pro…

---

## [Accessing PDF Metadata and Page Thumbnails](https://www.ruby-forum.com/t/accessing-pdf-metadata-and-page-thumbnails/110480)

<div class="topic-metadata">

**Author:** [@Ben\_Gribaudo](https://www.ruby-forum.com/u/Ben_Gribaudo)\
**Replies:** 1\
**Last updated:** [July 27, 2007, 1:46pm UTC](https://www.ruby-forum.com/t/accessing-pdf-metadata-and-page-thumbnails/110480 "2007-07-27T13:46:44Z")

</div>

Hello, I am putting together a PDF archive of our corporate newsletters. I’d like to iterate though a directory of PDFs, read their metadata (title, description, etc.) and use this info to dynamically generate a RHTML …

---

## [ParseTree and the Standard Library](https://www.ruby-forum.com/t/parsetree-and-the-standard-library/110551)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/parsetree-and-the-standard-library/110551 "2007-07-27T13:24:42Z")

</div>

There some discussion going on the ruby-core mailing list about which standard libraries to remove from the official ruby source, now that RubyGems is going in. I thought I’d let all you plebians know. I personally ca…

---

## [Reminder: Ruby East 2007 Proposals Are Due Monday](https://www.ruby-forum.com/t/reminder-ruby-east-2007-proposals-are-due-monday/110550)

<div class="topic-metadata">

**Author:** [@Andrea\_oSkSW](https://www.ruby-forum.com/u/Andrea_oSkSW)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/reminder-ruby-east-2007-proposals-are-due-monday/110550 "2007-07-27T13:15:41Z")

</div>

The call for papers is now open for Ruby East 2007, to be held September 27-28 in Philadelphia (USA). The conference features one day of intense, real-world tutorials followed by a jam-packed day of sessions across mu…

---

## [Article of interest (?): Why Ruby on Rails Succeeded](https://www.ruby-forum.com/t/article-of-interest-why-ruby-on-rails-succeeded/110475)

<div class="topic-metadata">

**Author:** [@estherschindler](https://www.ruby-forum.com/u/estherschindler)\
**Replies:** 10\
**Last updated:** [July 27, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/article-of-interest-why-ruby-on-rails-succeeded/110475 "2007-07-27T12:29:37Z")

</div>

Whatever you think of Ruby on Rails technically – even if you prefer another language or development framework – you do have to admit that Rails has gained huge acceptance in a short period of time. In this CIO articl…

---

## [Array access](https://www.ruby-forum.com/t/array-access/110444)

<div class="topic-metadata">

**Author:** [@kabish](https://www.ruby-forum.com/u/kabish)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 11:19am UTC](https://www.ruby-forum.com/t/array-access/110444 "2007-07-27T11:19:56Z")

</div>

I have an Array with two Target objects. How can I manage to take each value of the objects? p("targets size: " + @targets.length.to\_s) # “targets size: 2” (OK) p @targets # \[#\<Target:0x471c2f4 @attributes={“hit…

---

## [Processing a huge xml file](https://www.ruby-forum.com/t/processing-a-huge-xml-file/110114)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 13\
**Last updated:** [July 27, 2007, 8:20am UTC](https://www.ruby-forum.com/t/processing-a-huge-xml-file/110114 "2007-07-27T08:20:16Z")

</div>

Hey guys I was wondering what advice anyone could possibly hand me about processing a huge XML (in fact its an XSD file) Overall, its about 20,000 lines of XML to load. Even on my macbook pro with 2GB of RAM, libxml-…

---

## [Mechanize 0.6.10 Released](https://www.ruby-forum.com/t/mechanize-0-6-10-released/110528)

<div class="topic-metadata">

**Author:** [@aaronpowell](https://www.ruby-forum.com/u/aaronpowell)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 5:56am UTC](https://www.ruby-forum.com/t/mechanize-0-6-10-released/110528 "2007-07-27T05:56:08Z")

</div>

mechanize version 0.6.10 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, …

---

## [Adding arrays](https://www.ruby-forum.com/t/adding-arrays/110392)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 13\
**Last updated:** [July 27, 2007, 5:49am UTC](https://www.ruby-forum.com/t/adding-arrays/110392 "2007-07-27T05:49:14Z")

</div>

I was wondering, if it is possible to add two different arrays together, but do it line by line. For example: Array\_1 has 1, 2 and 3, and Array\_2 has 1, 2, and also 3, then your answer would come out 2, 4, and 6. on…

---

## [How to play .avi and view jpg?](https://www.ruby-forum.com/t/how-to-play-avi-and-view-jpg/110449)

<div class="topic-metadata">

**Author:** [@arun](https://www.ruby-forum.com/u/arun)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 3:16am UTC](https://www.ruby-forum.com/t/how-to-play-avi-and-view-jpg/110449 "2007-07-27T03:16:55Z")

</div>

I’m trying to write some client software that can play .avi videos, either in a window or full screen, as well as display photos. What is the best way to do this in Ruby? A library that works across platforms would be…

---

## [Beginner Q](https://www.ruby-forum.com/t/beginner-q/110511)

<div class="topic-metadata">

**Author:** [@dust](https://www.ruby-forum.com/u/dust)\
**Replies:** 0\
**Last updated:** [July 27, 2007, 1:06am UTC](https://www.ruby-forum.com/t/beginner-q/110511 "2007-07-27T01:06:52Z")

</div>

So, when i first started to learn ruby about a week or two ago, my cousin who showed me ruby had me start on a program called hackety-hack, which is i type of tutorial thing, it kind of gives programs a sort of gui al…

---

## [Converting escaped html to utf-8](https://www.ruby-forum.com/t/converting-escaped-html-to-utf-8/110401)

<div class="topic-metadata">

**Author:** [@Chris\_Worrall](https://www.ruby-forum.com/u/Chris_Worrall)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 12:55am UTC](https://www.ruby-forum.com/t/converting-escaped-html-to-utf-8/110401 "2007-07-27T00:55:45Z")

</div>

Hi everyone, I’ve looked around online for a solution, but I’m pretty new to ruby and programming in general, so I feel like I’m hitting a wall here. I’m retrieving data from Hpricot that I’d like to store in UTF-8, b…

---

## [ParseDate.parsedate("Tuesday, July 6th, 2007, 18:35:20 UTC")](https://www.ruby-forum.com/t/parsedate-parsedate-tuesday-july-6th-2007-1820-utc/110196)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 12:23am UTC](https://www.ruby-forum.com/t/parsedate-parsedate-tuesday-july-6th-2007-1820-utc/110196 "2007-07-27T00:23:42Z")

</div>

ParseDate e$B$N%^%K%e%"%k$K$"$k0J2\<$NNc$rF0$+$9$H!"\<($5$l$?7k2Le(B e$B$K$J$i$J$$$s$G$9$,!"2?$+JQ$o$j$^$7$?$C$1e(B? ParseDate.parsedate “Tuesday, July 6th, 2007, 18:35:20 UTC” # =\> \[2007, 7, 6, 18, 35, 20, “UTC”, 2\] % .…

---

## [Trademark and terms of usage of Ruby logo](https://www.ruby-forum.com/t/trademark-and-terms-of-usage-of-ruby-logo/110486)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 12:17am UTC](https://www.ruby-forum.com/t/trademark-and-terms-of-usage-of-ruby-logo/110486 "2007-07-27T00:17:41Z")

</div>

Cheers, I’m interested in the terms of usage of the Ruby logo. I had a quick look at ruby-lang.org and google but didn’t find any info on it. Is it possible to use the logo in a job posting for Ruby developers? If so…

---

## [Article: "Why Ruby on Rails Succeeded"](https://www.ruby-forum.com/t/article-why-ruby-on-rails-succeeded/110488)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 6\
**Last updated:** [July 26, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/article-why-ruby-on-rails-succeeded/110488 "2007-07-26T23:49:39Z")

</div>

You may or may not find this article interesting or entertaining. http://www.cio.com/article/125851 Beware – it presupposes the concept that Rails HAS succeeded. It does not attempt to prove this. I have already bee…

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

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