# Ruby

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

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

---

## [Implicit vs explicit self in private methods](https://www.ruby-forum.com/t/implicit-vs-explicit-self-in-private-methods/141708)

<div class="topic-metadata">

**Author:** [@dusty](https://www.ruby-forum.com/u/dusty)\
**Replies:** 4\
**Last updated:** [June 29, 2008, 9:43pm UTC](https://www.ruby-forum.com/t/implicit-vs-explicit-self-in-private-methods/141708 "2008-06-29T21:43:15Z")

</div>

I’m trying to understand the difference between implicitly and explicitly calling a private method and am hoping someone could shed some light on this for me. class Tester def public\_hello\_good say\_hello end def p…

---

## [Ruby.StandardLibrary.Yaml.YamlLibraryInitializer](https://www.ruby-forum.com/t/ruby-standardlibrary-yaml-yamllibraryinitializer/141702)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 0\
**Last updated:** [June 29, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/ruby-standardlibrary-yaml-yamllibraryinitializer/141702 "2008-06-29T19:24:19Z")

</div>

In r116, if you run rake gen to recreate the initializers, the Yaml one is corrupt and will not compile: trunk\\src\\yaml\\initializer.generated.cs (line 22): Ruby.Builtins.RubyClass Context.ObjectClass = Exten…

---

## [HOME env variable required](https://www.ruby-forum.com/t/home-env-variable-required/141689)

<div class="topic-metadata">

**Author:** [@editkid](https://www.ruby-forum.com/u/editkid)\
**Replies:** 1\
**Last updated:** [June 29, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/home-env-variable-required/141689 "2008-06-29T17:58:15Z")

</div>

I checked out r116 from SVN into a new clean folder. This is what I got: D:\\dev\\ruby\\ironruby\\head\>rake compile (in D:/dev/ruby/ironruby/head) rake aborted! private method \`gsub’ called for nil:NilClass D:/dev/rub…

---

## [New Ruby on Rails Windows group](https://www.ruby-forum.com/t/new-ruby-on-rails-windows-group/141698)

<div class="topic-metadata">

**Author:** [@caliwildman](https://www.ruby-forum.com/u/caliwildman)\
**Replies:** 0\
**Last updated:** [June 29, 2008, 5:56pm UTC](https://www.ruby-forum.com/t/new-ruby-on-rails-windows-group/141698 "2008-06-29T17:56:39Z")

</div>

At the suggestion of a fellow RoR Windows developer, we thought it is a good idea to create a separate group for RoR Windows developers seeing how Windows issues tend to be rather different than Linux. Here is the new…

---

## [Ruby WX](https://www.ruby-forum.com/t/ruby-wx/141598)

<div class="topic-metadata">

**Author:** [@Hans\_F](https://www.ruby-forum.com/u/Hans_F)\
**Replies:** 2\
**Last updated:** [June 29, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/ruby-wx/141598 "2008-06-29T15:11:13Z")

</div>

Ruby WX (not to be confused with wxRuby) version 0.1.5 is released. This is a bugfix release, but I also added a binary called metar that fetches and decodes the current METAR for a station, e.g. $ metar klru KLRU 27…

---

## [Rubinius is in Gentoo Linux](https://www.ruby-forum.com/t/rubinius-is-in-gentoo-linux/141682)

<div class="topic-metadata">

**Author:** [@MSEdward\_SEdS\_Bora](https://www.ruby-forum.com/u/MSEdward_SEdS_Bora)\
**Replies:** 0\
**Last updated:** [June 29, 2008, 9:53am UTC](https://www.ruby-forum.com/t/rubinius-is-in-gentoo-linux/141682 "2008-06-29T09:53:47Z")

</div>

I just discovered that Rubinius is in Gentoo Linux. Does anyone here know if it’s in other Linux distros?

---

## [Lambda calculus & functional programming - the view from Ruby](https://www.ruby-forum.com/t/lambda-calculus-functional-programming-the-view-from-ruby/141670)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 4\
**Last updated:** [June 29, 2008, 3:53am UTC](https://www.ruby-forum.com/t/lambda-calculus-functional-programming-the-view-from-ruby/141670 "2008-06-29T03:53:10Z")

</div>

People, I have a general understanding of lambda calculus & functional programming but I want to know how Ruby fits into this paradigm - is there a summary doc somewhere (preferably with concrete examples) - I couldn…

---

## [Where does ruby excel?](https://www.ruby-forum.com/t/where-does-ruby-excel/141063)

<div class="topic-metadata">

**Author:** [@Dolazy](https://www.ruby-forum.com/u/Dolazy)\
**Replies:** 13\
**Last updated:** [June 28, 2008, 11:47pm UTC](https://www.ruby-forum.com/t/where-does-ruby-excel/141063 "2008-06-28T23:47:00Z")

</div>

I have only used ruby for writing little scripts. Things that are typically done using Perl/awk/bash… Ruby has the potential for much more, but there doesn’t seem to be a problem domain where it truly excels. Maybe R…

---

## [RedCloth: table with empty value](https://www.ruby-forum.com/t/redcloth-table-with-empty-value/141635)

<div class="topic-metadata">

**Author:** [@rbermejo](https://www.ruby-forum.com/u/rbermejo)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/redcloth-table-with-empty-value/141635 "2008-06-28T21:55:48Z")

</div>

Hello List /. I am trying to build a html table from a string using RedCloth. My table should show some empty values require ‘redcloth’ table = RedCloth.new("|a|b|c|d|\\n|A||c|d|").to\_html puts table produces: …

---

## [Determining lists,strings and numbers(Newbie question)](https://www.ruby-forum.com/t/determining-lists-strings-and-numbers-newbie-question/141650)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 9:05pm UTC](https://www.ruby-forum.com/t/determining-lists-strings-and-numbers-newbie-question/141650 "2008-06-28T21:05:44Z")

</div>

name = “vimal” if name.respond\_to?(“each”) print “Its a list\\n” else print “Its a string\\n” output: Its a list =\> nil The Condition is True,but its a “string” right!! My quetion is, How can one determine whethe…

---

## [$SAFE=2 and tempfile, tmpdir](https://www.ruby-forum.com/t/safe-2-and-tempfile-tmpdir/141665)

<div class="topic-metadata">

**Author:** [@arton](https://www.ruby-forum.com/u/arton)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/safe-2-and-tempfile-tmpdir/141665 "2008-06-28T21:00:28Z")

</div>

artone$B$G$9!#e(B Ruby 1.8.7-p22e$B$G!“e(B2e$BE@$”$j$^$9!#e(B 1e$B$D$O!"e(Btempfile.rbe$B$G!"e(B$SAFE \>= 2e$B$N\>l9g$Ke(BTempfile.newe$B$,e(BRuntimeErrore$B$G\<:GTe(B e$B$9$k$N$,0U?^E\*$+$I$&$+$N3NG’$G$9!#e(B C:\\home\\a…

---

## [State of (J)Ruby in Vancouver - Weekly (J)Ruby Meetups @ Waves Coffee Mondays Starting @ 7pm](https://www.ruby-forum.com/t/state-of-j-ruby-in-vancouver-weekly-j-ruby-meetups-waves-coffee-mondays-starting-7pm/141664)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 8:16pm UTC](https://www.ruby-forum.com/t/state-of-j-ruby-in-vancouver-weekly-j-ruby-meetups-waves-coffee-mondays-starting-7pm/141664 "2008-06-28T20:16:00Z")

</div>

Hello, I’m curious if anyone is using or interested in (J)Ruby in Vancouver, British Columbia (B.C.) on Canada’s West Coast in the Americas. Any comments or insight appreciated. Also allow me to highlight that I star…

---

## [Wordnet and Ruby](https://www.ruby-forum.com/t/wordnet-and-ruby/133958)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 5\
**Last updated:** [June 28, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/wordnet-and-ruby/133958 "2008-06-28T17:08:15Z")

</div>

Hi, I am trying to use the Wordnet dictionary (http://wordnet.princeton.edu/) with Ruby and am not having any luck. There is a Ruby tie-in for Wordnet. The project’s home page is at dev(E)iate. It’s not clear to me …

---

## [Performance improvement possible?](https://www.ruby-forum.com/t/performance-improvement-possible/141326)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 34\
**Last updated:** [June 28, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/performance-improvement-possible/141326 "2008-06-28T13:19:32Z")

</div>

People, I have asked before about Ruby to C conversion programs and other alternatives with no really satisfactory solution for my particular situation. I decided to test out a conversion of one of the C programs an…

---

## [Big empty file creation](https://www.ruby-forum.com/t/big-empty-file-creation/141651)

<div class="topic-metadata">

**Author:** [@Zhukov\_P](https://www.ruby-forum.com/u/Zhukov_P)\
**Replies:** 6\
**Last updated:** [June 28, 2008, 12:26pm UTC](https://www.ruby-forum.com/t/big-empty-file-creation/141651 "2008-06-28T12:26:55Z")

</div>

I need to creat an empty file, over 10GB size. Which way is fastest in file creation? file\<\<“0”\*file\_size\_in\_bytes consme too much memory

---

## [ANN: 7/11 & 7/25 ShoesFests with Why The Lucky Stiff](https://www.ruby-forum.com/t/ann-7-11-7-25-shoesfests-with-why-the-lucky-stiff/141634)

<div class="topic-metadata">

**Author:** [@DrSErnie](https://www.ruby-forum.com/u/DrSErnie)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 10:21am UTC](https://www.ruby-forum.com/t/ann-7-11-7-25-shoesfests-with-why-the-lucky-stiff/141634 "2008-06-28T10:21:09Z")

</div>

why the lucky stiff and friends invite all interested Ruby hackers – and wannabe hackers – to join them for two 24-hour ShoesFests: Friday, July 11th noon GMT to Saturday, July 12th noon GMT Friday, July 25th noon…

---

## [Fallthrough routing in a web microframework](https://www.ruby-forum.com/t/fallthrough-routing-in-a-web-microframework/141632)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 4\
**Last updated:** [June 28, 2008, 9:22am UTC](https://www.ruby-forum.com/t/fallthrough-routing-in-a-web-microframework/141632 "2008-06-28T09:22:41Z")

</div>

I’ve already asked on the Halcyon list, but if any other microframework can do this I’d like to know. Essentially I want a route to fail on a missing controller/action as well as on an unmatched pattern. martin ----…

---

## [File question](https://www.ruby-forum.com/t/file-question/141571)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 11\
**Last updated:** [June 28, 2008, 6:02am UTC](https://www.ruby-forum.com/t/file-question/141571 "2008-06-28T06:02:46Z")

</div>

Hi, File.open(‘file.txt’, ‘r’).each do |c| if(c=="\_\_#{t.month}/#{t.mday}/#{t.year} (#{t.zone})") e=true end end E.g. of date in file \_\_6/26/2008 (Pacific Daylight Time) I’m trying to see if the date already exist…

---

## [Re: r115 to SVN - foundational work for RubySpec	integration is done](https://www.ruby-forum.com/t/re-r115-to-svn-foundational-work-for-rubyspec-integration-is-done/141642)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 3:10am UTC](https://www.ruby-forum.com/t/re-r115-to-svn-foundational-work-for-rubyspec-integration-is-done/141642 "2008-06-28T03:10:52Z")

</div>

Clarification: we’ve had the means to run RubySpec for a while, and with the exception of coverage numbers, things were fine. We ran into a problem where IronRuby wouldn’t respect the exit code you told it to, and tha…

---

## [Creating a variable based on array](https://www.ruby-forum.com/t/creating-a-variable-based-on-array/141379)

<div class="topic-metadata">

**Author:** [@superfly](https://www.ruby-forum.com/u/superfly)\
**Replies:** 6\
**Last updated:** [June 28, 2008, 2:18am UTC](https://www.ruby-forum.com/t/creating-a-variable-based-on-array/141379 "2008-06-28T02:18:27Z")

</div>

Hello Everyone, I’m working on a program which is posted below. Basically my program automates file creating based off arrays at the beginning of the program. However, I’m unsure of how to do a couple of things. The …

---

## [Explanation of overriding method with lambda](https://www.ruby-forum.com/t/explanation-of-overriding-method-with-lambda/141619)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 3\
**Last updated:** [June 28, 2008, 1:50am UTC](https://www.ruby-forum.com/t/explanation-of-overriding-method-with-lambda/141619 "2008-06-28T01:50:46Z")

</div>

Hi, I am reading the tutorial at: http://en.wikibooks.org/wiki/Programming:Ruby\_Method\_Calls and I understand everything except this last method override code. We had this,(line below) which is simple and we are over…

---

## [R115 to SVN - foundational work for RubySpec integration is done](https://www.ruby-forum.com/t/r115-to-svn-foundational-work-for-rubyspec-integration-is-done/141636)

<div class="topic-metadata">

**Author:** [@John\_LSSIRONRUBY](https://www.ruby-forum.com/u/John_LSSIRONRUBY)\
**Replies:** 0\
**Last updated:** [June 28, 2008, 1:40am UTC](https://www.ruby-forum.com/t/r115-to-svn-foundational-work-for-rubyspec-integration-is-done/141636 "2008-06-28T01:40:50Z")

</div>

These updates sync the SVN tree up to our internal repository as of today. My apologies for the delay in getting these new bits out to y’all we’ve had challenges in integrating the new Ruby specs among other things. …

---

## [Raise](https://www.ruby-forum.com/t/raise/141630)

<div class="topic-metadata">

**Author:** [@jturney](https://www.ruby-forum.com/u/jturney)\
**Replies:** 1\
**Last updated:** [June 28, 2008, 12:27am UTC](https://www.ruby-forum.com/t/raise/141630 "2008-06-28T00:27:44Z")

</div>

Hi, Can you create your own raise types? I know there’s raise NotImplementedError, for instance, but I want to make a custom one with a string. Thanks!

---

## [\[ANN\] First gathering of #ruby-pro on 27th of June, 23:00 UT](https://www.ruby-forum.com/t/ann-first-gathering-of-ruby-pro-on-27th-of-june-23-00-ut/141437)

<div class="topic-metadata">

**Author:** [@apeiros](https://www.ruby-forum.com/u/apeiros)\
**Replies:** 2\
**Last updated:** [June 28, 2008, 12:14am UTC](https://www.ruby-forum.com/t/ann-first-gathering-of-ruby-pro-on-27th-of-june-23-00-ut/141437 "2008-06-28T00:14:41Z")

</div>

I’m proud to announce that #ruby-pro will be holding its first gathering on Friday. #ruby-pro is an IRC channel\[1\] on irc.freenode.org where experienced and advanced Ruby coders can meet and talk, and where less expe…

---

## [Share Authentication Cookies](https://www.ruby-forum.com/t/share-authentication-cookies/141549)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 4\
**Last updated:** [June 27, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/share-authentication-cookies/141549 "2008-06-27T23:49:14Z")

</div>

I would like to know if it is possible to share Authentication cookies between 2 url’s with ruby. Does anyone know how to? thanks

---

## [Code Review: Interpret1](https://www.ruby-forum.com/t/code-review-interpret1/141564)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/code-review-interpret1/141564 "2008-06-27T22:39:59Z")

</div>

tfpt review “/shelveset:Interpret1;REDMOND\\tomat” Microsoft.Scripting: Fixes variable lookup and evaluation of OrExpression in interpreter. Reduces amount of generated code during interpretation by using generic meth…

---

## [What port does RubyGems use for outbound traffic?](https://www.ruby-forum.com/t/what-port-does-rubygems-use-for-outbound-traffic/141622)

<div class="topic-metadata">

**Author:** [@kodama](https://www.ruby-forum.com/u/kodama)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 10:35pm UTC](https://www.ruby-forum.com/t/what-port-does-rubygems-use-for-outbound-traffic/141622 "2008-06-27T22:35:23Z")

</div>

Hi all, I’m setting up Ruby in a non-conventional environment where I need to specifically open a port on the box to allow for outbound network traffic. So I’m trying to figure out which port RubyGems uses when it go…

---

## [Define\_method with block](https://www.ruby-forum.com/t/define-method-with-block/141592)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 7\
**Last updated:** [June 27, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/define-method-with-block/141592 "2008-06-27T22:08:22Z")

</div>

Hi! Is there a way that methods defined with define\_method can take a block? Here’s my fighting module: module Taikwando def self.add\_warrior(n) define\_method(n) do puts “#{n} fights!” yield end end def fight(\*…

---

## [Sequel primary keys](https://www.ruby-forum.com/t/sequel-primary-keys/141319)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 15\
**Last updated:** [June 27, 2008, 9:08pm UTC](https://www.ruby-forum.com/t/sequel-primary-keys/141319 "2008-06-27T21:08:36Z")

</div>

I posted to the Sequel Google Group but it’s horribly slow, assuming it took my post. Does anyone on here know if it is possible to create a non-integer primary key in Sequel? If so how? Also help with creating a …

---

## [Printf goober](https://www.ruby-forum.com/t/printf-goober/141611)

<div class="topic-metadata">

**Author:** [@llinklater](https://www.ruby-forum.com/u/llinklater)\
**Replies:** 4\
**Last updated:** [June 27, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/printf-goober/141611 "2008-06-27T20:52:04Z")

</div>

Hi there! I was experimenting with printf thus: puts printf("%s is %d years old.", “booboo”, 12) and got this result: booboo is 12 years old.nil Where does that nil originate and how do I get rid of it?

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

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