[#306796] Hash#select returns an array but Hash#reject returns a hash... — "Srijayanth Sridhar" <srijayanth@...>
Hello,
Srijayanth Sridhar wrote:
irb(main):001:0> a=Hash.new
From: Srijayanth Sridhar [mailto:srijayanth@gmail.com]=20
>
Hi --
On Tue, Jul 1, 2008 at 8:48 AM, David A. Black <dblack@rubypal.com> wrote:
On Tue, Jul 1, 2008 at 3:42 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:
On Tue, Jul 1, 2008 at 7:26 PM, Robert Dober <robert.dober@gmail.com> wrote:
Hi --
On Tue, Jul 1, 2008 at 4:24 PM, David A. Black <dblack@rubypal.com> wrote:
Hi --
Hi --
[#306800] meaning of %w — Junkone <junkone1@...>
what is the meaning of %w. atlest in my copy of rubydoc, i could not
[#306809] Dynamic Variables — Marc Heiler <shevegen@...>
Is there any way in ruby to create dynamic variables?
Marc Heiler wrote:
[#306812] in select: interrupt — "Mark Firestone" <mark@...>
Anyone getting errors like this.... I'm working on a console mode full
2008/7/1 Mark Firestone <mark@cortex-media.com>:
Thanks for the advice. I can provide more of the code, or all the code...
[#306879] How to install Ruby DBI module? — Justin To <tekmc@...>
I downloaded the mysql-ruby-2.8pre4, which I guess is the database
Ok, I typed it into the window's command prompt, but i get this error:
On Tuesday 01 July 2008, Justin To wrote:
[#306894] options for running code in parallel — "Martin DeMello" <martindemello@...>
Our testing department wants a small tool that can make a number of
[#306908] threadify-0.0.1 — ara howard <ara.t.howard@...>
On Tue, Jul 1, 2008 at 1:04 PM, ara howard <ara.t.howard@gmail.com> wrote:
ara howard wrote:
On Tue, Jul 1, 2008 at 5:04 PM, Charles Oliver Nutter
[#306913] Problem with unpack — Rafael <mayoral.rafael@...>
Hi,
[#306924] workarounds for ruby 1.8.6 segmentations faults — liquid_rails <cheri.anaclerio@...>
Hi,
liquid_rails wrote:
RnJvbTogQ2hhcmxlcyBPbGl2ZXIgTnV0dGVyIFttYWlsdG86Y2hhcmxlcy5udXR0ZXJAc3VuLmNv
Pe単a wrote:
RnJvbTogQ2hhcmxlcy5PLk51dHRlckBzdW4uY29tIA0KIyBZZXMsIHdlIHBsYW4gdG8gc3RhcnQg
[#306939] Mac OS X 10.5.4 - no new Ruby? — matt@... (matt neuburg)
The Mac OS X 10.5.4 update came out yesterday, but it did not update the
[#306940] Is posible String#to_s doesn't add the decimal value if not needed? — Iñaki Baz Castillo <ibc@...>
Hi, I want to convert a string to a Float value:
[#306962] Missing zlib on latest ruby version — fedzor <fedzor@...>
You all know the error. missing require, blah blah. Seriously,
On Wed, Jul 2, 2008 at 11:49 AM, fedzor <fedzor@gmail.com> wrote:
[#306971] Ruby Exponents — Tony Dermont <tonydermont@...>
Hi,
[#306975] Ruby Idiom for dynamic programming? (request for comments) — Lars Christensen <larsch@...>
Random idea i had...
[#306980] Taint mechanism — Olivier Sarrouy <olivier.sarrouy@...>
Hi everyone,
[#306988] Arithmetic oddity — Minh Tran <mtgred@...>
>> l = [1.0, 1.0, 2.0**0.5]
On 2 Jul 2008, at 12:30, Minh Tran wrote:
It still look odd as the value in s[2] is 2.0 which doesn't seems to
[#306991] reading zipfiles from a url? — Janus Bor <janus@...>
Hi everyone!
[#307014] Ranges and Enumerable problems — "Glen Holcomb" <damnbigman@...>
Okay so when I play with "!".."~" wrong things happen.
2008/7/2 Glen Holcomb <damnbigman@gmail.com>:
On Wed, Jul 2, 2008 at 9:12 AM, Robert Klemme <shortcutter@googlemail.com>
On 7/2/08, Glen Holcomb <damnbigman@gmail.com> wrote:
On Wed, Jul 2, 2008 at 7:13 PM, Adam Shelly <adam.shelly@gmail.com> wrote:
On 7/2/08, Robert Dober <robert.dober@gmail.com> wrote:
On 02.07.2008 19:48, Adam Shelly wrote:
On Wed, Jul 2, 2008 at 2:27 PM, Robert Klemme <shortcutter@googlemail.com>
On Wed, Jul 2, 2008 at 3:50 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:
On Wed, Jul 2, 2008 at 5:07 PM, Todd Benson <caduceass@gmail.com> wrote:
2008/7/3 Todd Benson <caduceass@gmail.com>:
On Thu, Jul 3, 2008 at 5:23 AM, Robert Klemme <shortcutter@googlemail.com>
On 7/3/08, Rick DeNatale <rick.denatale@gmail.com> wrote:
Adam my apologies, instead of logic nitpicking, which was fun of
[#307017] Problem building Ruby from sources — Kurt Usen <kurtus@...>
Hello,
[#307024] How to wrap text in an Excel cell? — Leshak Leshak <leshak@...>
Hello,
[#307031] Design Pattern for RUBY Beginner Learner — "Salai Khine" <sayakyi@...>
Dear Ruby Folk,
I do not know a site but I do know a book which is excellent:
[#307051] Worthwhile to build a gem? — Greg Willits <lists@...>
I have a project where a number of internally-developed Ruby libraries
[#307067] Lost with OptionParser — Greg Willits <lists@...>
I'm having a real problem understanding OptionParser -- the docs in
[#307070] Install/Enable openssl for ruby 1.8.6? — Jason Bornhoft <jbornhoft@...>
I was trying to install Redmine on rails 2.0.2 (this is not a rails
Jason Bornhoft wrote:
Thank you. I'm using a non-debian linux...
Still getting the same error...
On Jul 2, 2008, at 21:12 PM, Jason Bornhoft wrote:
Eric Hodel wrote:
On Thu, Jul 03, 2008 at 01:23:16PM +0900, Jason Bornhoft wrote:
[#307080] thoughts on a more generic Array#partition function — "Rudi Cilibrasi" <cilibrar@...>
An experiment in a more generic partition function. The current
From: Rudi Cilibrasi [mailto:cilibrar@gmail.com]=20
Hi Botp,
From: Rudi Cilibrasi [mailto:cilibrar@gmail.com]=20
On Thu, Jul 3, 2008 at 12:53 AM, Pe=F1a, Botp <botp@delmonte-phil.com> wrot=
2008/7/3 Rick DeNatale <rick.denatale@gmail.com>:
From: Rick DeNatale [mailto:rick.denatale@gmail.com]=20
Hi,
From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]=20
[#307100] Embedded usage message, ascii terminal output, markup — Stephen Prather <smprather@...>
Hi everybody--
[#307101] Slide Show (S9) Gem Now Includes S5 Support (Including Built-In Gradient Themes) — "Gerald Bauer" <geraldbauer2007@...>
Hello,
Gerald Bauer wrote:
Hello,
Hello Axel,
/^\w{3}[0,4-9]{3}\w{3}$/
[#307117] yet another regexp problem — shaman <noone@...>
Hello-
[#307140] Ruby C API Question — "Tristin Davis" <tristin.colby@...>
I've been going over the Ruby API and I have a couple questions.
[#307153] pseudo-randomize an array in a consistent order — Max Williams <toastkid.williams@...>
Does anyone know how to pseudo-randomize an array (eg with a seed) so
Hi --
a.sort{ rand }
On Jul 3, 4:56 pm, Max Williams <toastkid.willi...@gmail.com> wrote:
ThoML wrote:
On Thu, Jul 3, 2008 at 12:59 PM, Max Williams <toastkid.williams@gmail.com>
Rick Denatale wrote:
Here's my final version in case anyone's interested:
[#307158] Check version — Pål Bergström <pal@...>
How do I check what version of Ruby I have, besides ruby -v? I'm trying
[#307178] Rawr install error — "Mateusz Winiarski" <mawiniarski@...>
Greetings,
[#307203] Parameter name reflection — Oliver Saunders <oliver.saunders@...>
If I declare
[#307208] How to duplicate elements in array? — Chris Chris <kylejc@...>
Hi,
[#307238] failed to map segment from shared object: Operation not permitted — "Tristin Davis" <tristin.colby@...>
I'm writing a ruby wrapper for a proprietary api. I compiled it, but when I
On Jul 3, 2008, at 9:46 PM, Tristin Davis wrote:
I tried it the solution in the 1st link, but it didn't help.
[#307240] creating dynamic hashmap — Sameera Gayan <sameera207@...>
Hi All,
[#307241] Basic ruby Question — "Deepak Gole" <deepak.gole8@...>
Hello,
[#307246] Getting Folder Size — Clement Ow <clement.ow@...>
When I use File.size("C:/ruby"), all it returns is 0.
Clement Ow wrote:
On 2008-07-04, Clement Ow <clement.ow@asia.bnpparibas.com> wrote:
John Joyce wrote:
Dave Bass wrote:
phlip wrote:
[#307271] initialize and super with parameters — Andy Joel <ak_joel@...>
Some example code
[#307281] Statistician II (#168) — "Matthew Moss" <matthew.moss@...>
Apologies if this appears as a repost, but the mailing list complained it
[#307284] from ruby/RoR to Java (framework unknown) :( — S2 <x@...>
My company today decided to ditch ruby development and to develop new web
Ryan Davis wrote:
Robert Dober wrote:
S2 wrote:
On Sat, 2008-07-05 at 04:08 +0900, James Britt wrote:
On 6 Jul 2008, at 07:19, Michael T. Richter wrote:
Jim Morris wrote:
[#307302] Does Ruby have any advantage over Python to create semantic applications? — Costan <CMValma@...>
Hi all,
On Jul 5, 3:11=A0pm, Marc Heiler <sheve...@linuxmail.org> wrote:
[#307309] amalgalite 0.2.0 Released — Jeremy Hinegardner <jeremy@...>
amalgalite version 0.2.0 has been released.
[#307318] MySQL/Ruby Module — Justin To <tekmc@...>
After downloading the mysql-ruby-2.8pre4 from
[#307326] title avoiding spurious response — unbewusst.sein@... (Une B騅ue)
for each db.execute row, i get a spurious respense like :
[#307357] irb not recognized in windows command line — Bert Ameche <bert.ameche@...>
I'm reading Beginning Ruby and followed the installation process , using
Hi Bert,
Bill Walton wrote:
[#307380] amalgalite 0.2.1 Released — Jeremy Hinegardner <jeremy@...>
A quick bugfix release for amalgalite. If you had a bug running amalgalite
[#307387] book — "Tommy" <no_mail@..._mail.no>
Hello all,
[#307408] mkmf isn't finding my shared object to link with — "Tristin Davis" <tristin.colby@...>
I have an extension I wrote which is actually just a wrapper for a C api.
[#307414] implementing a simple and efficient index system — Janus Bor <janus@...>
Hello everyone,
Janus Bor wrote:
phlip wrote:
Janus Bor wrote:
>
Robert Dober wrote:
[#307420] Accessing variables when loading a file to irb — Ib Lis <bordelentoutgenre@...>
Hi
[#307422] rubygems won't run on WinXP after system update — Artūras Šlajus <x11@...>
hello.
[#307429] .include? for string — Chris Chris <kylejc@...>
Hi,
[#307445] Array Combinations — "Pragash Mr." <gananapragasam@...>
Hi,
[#307455] Find matching elements in array — "Pragash Mr." <gananapragasam@...>
Hi,
[#307484] Gnuplot with ruby - unset variable? — M3tr0 G33k <rubyforum@...3tr0g33k.com>
Hi all,
[#307498] Another logical precedence question — -j b- <jrb562@...>
I am used to using the following shortcut:
[#307527] emacs-mode for ruby? — defn noob <circularfunc@...>
I dont find anything useful while googling.
[#307529] ruby gems doc indexer — Roger Pack <rogerpack2005@...>
Don't know if this would be useful for anyone, but I wrote a utility to
On Jul 7, 2008, at 14:44 PM, Roger Pack wrote:
Eric Hodel wrote:
[#307532] XMLRPC Question — Michael Taras <michaeltaras@...>
I am working on a little project that requires me to interface with an
[#307545] Where is the .rb for sockets? — John Maclean <jayeola@...>
Normally I use `ri foo` whenever I want to read up on something. There's
[#307576] Q: Remote installer — "G. Ralph Kuntz, MD, MS" <grk@...>
I am looking for a "remote installer" for ruby for Windows. I need to
[#307585] Threads: Different behavior under Linux and Windows — Armin Armbruster <aarmbruster@...>
Hi,
ara.t.howard schrieb:
On Jul 8, 9:00=A0pm, Daniel Berger <djber...@gmail.com> wrote:
[#307594] Ruby without rails? — Shashank Agarwal <shashank_hi@...>
I'm trying to develop a small website, and was planning to use Ruby
On Tue, Jul 8, 2008 at 9:23 AM, Shashank Agarwal <shashank_hi@yahoo.com> wrote:
[#307631] 'ab\c' and 'ab\\c' — subbu <loveajax@...>
I encountered a rather peculiar behavior of strings today.
I think you stumbled on another special character, \c, which seems to
[#307633] type specific operator — Amitraj singh Chouhan <chouhan.rj@...>
Hi all,
On Wednesday 09 July 2008, Amitraj singh Chouhan wrote:
[#307637] Piping data in on the command line — "James Coglan" <jcoglan@...>
Hello all,
[#307648] class methods — Clement Ow <clement.ow@...>
I have built my own ruby library where it contains my specific commands
[#307653] webgen 0.5.0 released — Thomas Leitner <t_leitner@...>
Hey everybody!
[#307654] How to delete a file in Win XP — MAwiniarski <MAwiniarski@...>
Greetings,
[#307667] Thread-safe priority queue? — "Sean O'Halpin" <sean.ohalpin@...>
Hi,
Sean O'Halpin wrote:
[#307671] Error installing sqlite gems — Andrea Aaa <marchese58@...>
I've tried from NetBeans to install sqlite gems, but I always got the
On Thu, Jul 10, 2008 at 12:11:28AM +0900, Andrea Aaa wrote:
[#307678] How do I link to inferior-ruby/interpreter in emacs? — ssecorp <circularfunc@...>
I have fixed ruby-mode for emacs but I dont understand how to run the
[#307689] Trying to find good examples of Ruby Sessions. — Xeno Campanoli <xcampanoli@...>
Pickaxe 246 is not only weak, but appears to be just wrong by saying:
Dave Thomas wrote:
[#307701] Ruby bug database — "Stefan Schmidt" <Stefan.Schmidt@...>
Hello,
[#307710] String#upcase/downcase with UTF-8 strings in Ruby 1.9 — "Stefan Schmidt" <Stefan.Schmidt@...>
Hello,
Hi,
[#307738] Problem with hash in function — Skave Rat <skaverat@...>
Somehow I'm missing something really basic. Why is following function
[#307759] Overloading the []-Operator — Matthias Winkelmann <matthias.winkelmann@...>
Hi,
[#307772] calling c++ from Ruby — Mr_Tibs <tiberiu.motoc@...>
Hi,
[#307780] character-encodings gem with Ruby 1.9 — "Stefan Schmidt" <Stefan.Schmidt@...>
Hello,
[#307782] file modes — "Martin DeMello" <martindemello@...>
A post on Arc [http://arcanesentiment.blogspot.com/2008/07/arc-gets-io-right.html]
[#307787] Map with &:method_name — Oliver Saunders <oliver.saunders@...>
I see this a lot but it doesn't work for me in IRB. Is a gem required or
[#307795] Communication between 2 ruby programs — Julien Genestoux <julien.genestoux@...>
Hi!
[#307804] Why Ruby interpreter is writed in c (not in c++)? — "Ranieri Teixeira" <ranieri.tx@...>
Hi,
Ranieri Teixeira wrote:
phlip wrote:
phlip wrote:
On 11 Jul 2008, at 02:31, phlip wrote:
[#307812] MS SQL 2005 Express and MySQL on Windows — Kyle <kyle.rabe@...>
The short question: Has anybody successfully connected to both MS SQL
On Fri, Jul 11, 2008 at 8:20 AM, Kyle <kyle.rabe@gmail.com> wrote:
Thank you for your tips. I'd rather not install Rails if possible -
Update: the 64/32 threw me a bit. I installed the 32-bit MySQL, and
[#307826] Beginner: if statement in one line? — Chris Chris <kylejc@...>
Hi,
[#307848] gem update — José Cruz <jose.cruz@...>
Hi,
[#307853] Symbolify (#169) — "Matthew Moss" <matthew.moss@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
On Fri, Jul 11, 2008 at 12:12 PM, ara.t.howard <ara.t.howard@gmail.com> wrote:
ara.t.howard wrote:
On Jul 11, 2008, at 12:16 PM, ara.t.howard wrote:
On Fri, Jul 11, 2008 at 1:19 PM, James Gray <james@grayproductions.net> wrote:
On Fri, Jul 11, 2008 at 2:02 PM, Alex LeDonne
> Or even
On Fri, Jul 11, 2008 at 11:17 AM, Matthew Moss <matthew.moss@gmail.com> wrote:
On Jul 13, 2008, at 10:17 AM, Alex LeDonne wrote:
Here's a fairly straightforward solution, this passes the tests and works
My first version cheats a bit, but passes the tests. Converts the num
[#307861] Regex to find urls in text? — Max Williams <toastkid.williams@...>
On our site, our resources have a description, which is often copied and
[#307867] block variable not working how I expect it to work — James Dinkel <jdinkel@...>
Here is my ruby version:
[#307897] Working on a first plain Ruby script, need help with `join' — Jesse Crockett <tefflox@...>
I need help in the block to create a csv file of these entries.
[#307900] inject idiom — "عمر ملقب بالثانی" <bordelentoutgenre@...>
Dear all,
Thanks to both of you ara.t.howard and Kentaro-san for the nice hints.
[#307917] Treetop positive lookahead problem — Tom Aadland <tomhaa@...>
Hi,
[#307933] can ruby replace bash scripts for linux script — "Greg Hauptmann" <greg.hauptmann.ruby@...>
hi,
Greg Hauptmann wrote:
[#307945] AutoIt: HWnd function of AutoIt giving method missing error — Anukul Singhal <anukul.singhal@...>
Hi,
Anukul Singhal wrote:
[#307954] Hpricot question — Rainer <wolf.rainer@...>
Hello,
[#307962] Can't install gems after a new ubuntu install — Max Williams <toastkid.williams@...>
Sorry if this is the wrong forum...
Actually, looking at this error "no such file to load -- mkmf"
Doh, just checked, i have make installed already. I'm going to shut up
Max Williams wrote:
phlip wrote:
Max Williams wrote:
On Jul 12, 3:07=A0pm, Max Williams <toastkid.willi...@gmail.com> wrote:
On Sun, Jul 13, 2008 at 12:20 AM, miles.sterrett@gmail.com
Dick Davies wrote:
[#307973] regular expressions help — Vivek <krishna.vivek@...>
Hi,
Axel wrote:
[#307975] behavior of delete! method — Alex DeCaria <alex.decaria@...>
I am confused by the use of the delete! method as applied to a string.
[#308024] ForkAndReturn 0.1.0 — Erik Veenstra <erikveen@...>
ForkAndReturn 0.1.0 is released.
[#308030] Are not used Objects cleaned from memory? — Iñaki Baz Castillo <ibc@...>
Hi, a simple question:
I=C3=B1aki Baz Castillo wrote:
[#308047] Hoe dependencies — "James Coglan" <jcoglan@...>
Hello list,
[#308060] Passing arguments to a class, how do? — "Luiz Vitor Martinez Cardoso" <grabber@...>
I'm learning Ruby, and i need to solve a problem:
El Domingo, 13 de Julio de 2008, Luiz Vitor Martinez Cardoso escribi=C3=B3:
Hi --
[#308070] Connecting to a Windows share from a Windows computer — Kory Woods <kory@...>
We have two separate servers running Windows Server 2003, and what we
Hi!
Björn Andersson wrote:
[#308086] Factorials — Adam Trager <adamman62@...>
I just started using ruby, and no matter how hard i try i cant do
[#308107] Raw Sockets for packet sniffing — Filipe Manana <fdmanana@...>
Hello,
[#308111] date format — Sijo Kg <sijo@...>
Hi
[#308124] Help with class instance variables — Ittay Dror <ittay.dror@...>
Hello,
Hi --
Hi,
[#308153] regexp with gaps — egrasso <egrasso.rb@...2.net>
Hi, I need to find the position of some substrings inside of a long
[#308154] Text Editor — Jacob Grover <jacob.grover@...>
Hello, I've been wondering for a long time if there's an Internet text
You can write Ruby code in any text editor. Is your friend not using one,
[#308172] Ruby & Threads — Michael Boutros <me@...>
Hello all,
[#308175] Do we "own" XML namespace? — Trans <transfire@...>
Hi--
[#308182] how to loop through two arrays in parallel — Mitchell Gould <go_mitchell@...>
I have two arrays from a form.
[#308200] array of hashes (finding value) — Nate Leavitt <nateleavitt@...>
I'm just looking for other possible solutions. Sorry, this is kinda a
On Mon, Jul 14, 2008 at 3:22 PM, Nate Leavitt <nateleavitt@gmail.com> wrote:
[#308227] Syntax Checker that's better than the normal syntax checker — Jacob Grover <jacob.grover@...>
I've been using the stupid built in syntax checker, it's been making
On Tue, Jul 15, 2008, Jacob Grover wrote:
[#308233] Proc argument names instead of arity — Macario Ortega <macarui@...>
Roger Pack wrote:
[#308240] Is it possible to dynamically extend Test::Unit test cases? — "David Mitchell" <monch1962@...>
Hello list,
David Mitchell wrote:
[#308261] "Address already in use" Error with net/http — Christian Kerth <christian.kerth@...>
Hey!
[#308264] Array.drop doesn't work — Li Chen <chen_li3@...>
Hi all,
Frederick Cheung wrote:
On Wednesday 16 July 2008 08:00:13 Dave Bass wrote:
On Fri, Jul 18, 2008 at 8:16 PM, David Masover <ninja@slaphack.com> wrote:
[#308278] Immediately print a string on stdout without new line? — Janus Bor <janus@...>
Hi everyone!
[#308291] Is there a way to call include for an object instance? — Chris Olsen <olsen.chris@...>
I need to be able to create an object and, based on the param that I
[#308292] check my class — misterparker@...
Hey i'm super new at ruby, This is my first class attempt. can i copy
[#308294] Complicated class initialization/instantiation problem. — "Michael T. Richter" <ttmrichter@...>
I've been trying to crack this nut on my own for the past week or so,
2008/7/16 Michael T. Richter <ttmrichter@gmail.com>:
On Wed, 2008-07-16 at 16:13 +0900, Pit Capitain wrote:
[#308300] New to Ruby. Specific syntax question. — Cole Mister <chonald@...>
I'm reading through the PickAxe book right now. I'm new to programming,
On Jul 16, 12:20=A0pm, Cole Mister <chon...@gmail.com> wrote:
[#308356] "gem update" eats 100% cpu and memory — Axel Bock <mr.Axel.Bock@...>
Hi all,
[#308363] Loading ftools.rb automatically — "bparanj@..." <bparanj@...>
I have Ruby 1.8.5 patch-level xyz and Ruby 1.8.5 with no patch-level
[#308370] The next number that is not in an array — Tim Conner <crofty_james@...>
I want to increment the current value of a variable to the next number
Hi --
> true while restricted_numbers.include?(n+=1)
On Thu, Jul 17, 2008 at 3:44 PM, Robert Dober <robert.dober@gmail.com> wrote:
Hi All,
[#308384] Logging 0.9.0 (the "Monkeyful Chimptacular" release) — Tim Pease <tim.pease@...>
logging version 0.9.0
[#308398] Form Control — Devious Forlan <devyone@...>
Hi guys,
[#308400] Getting an object's class definition namespace — Martin Boese <boesemar@...>
In a program I module_eval class definitions into a dynamically created
[#308409] So who's coming to RubyFringe? — Oliver Saunders <oliver.saunders@...>
...I am! Hope you meet some of you guys over here.
Can we still get tickets??
Kent Fenwick wrote:
On Thu, Jul 17, 2008 at 6:01 PM, James Britt <james.britt@gmail.com> wrote:
Austin Ziegler wrote:
On Thu, Jul 17, 2008 at 9:09 PM, Oliver Saunders
[#308423] Where should I put the loops — Li Chen <chen_li3@...>
Hi all,
[#308424] Why is this cause an infinite loop? — Trans <transfire@...>
Why is this cause an infinite loop?
[#308431] Readline and conditional tab results based on input — Marc Heiler <shevegen@...>
Hi there,
Hi,
I should be even more specific.
[#308462] weird deadlock message — Roger Pack <rogerpack2005@...>
So...I run an app with three threads running, it churns for awhile,
[#308476] NamedParameters v0.0.0 ('first', :second => 'release') — Roger Pack <rogerpack2005@...>
NamedParameters
> I did notice that Matz apparently plans on using something very similar
ThoML wrote:
[#308498] show text in italics. — Vamsi Krishna <vamsikrishna.naidu@...>
Hi ,
Where are you displaying the text? At the console? In a window? Using shoes?
[#308509] Records and Arrays (#170) — "Matthew Moss" <matthew.moss@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#308512] Finding the date of an event based on related events. — Kaldrenon <kaldrenon@...>
Hi all,
[#308525] Multiple GEM repositories — Rob Mauchel <rmauchel@...>
I have a Ruby script which runs fine on my own machine that I'd like to
On Jul 18, 2008, at 12:13 PM, Rob Mauchel wrote:
On Jul 22, 2008, at 17:33 PM, ara.t.howard wrote:
Eric Hodel wrote:
[#308528] FileUtils.cp_r — Marc Heiler <shevegen@...>
Hi,
[#308537] compile from source - how difficult? — Tom Cloyd <tomcloyd@...>
On a fresh install of Kubuntu Linux (ver. 8.04.01), I'm not having good
On Fri, Jul 18, 2008 at 3:34 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:
Martin DeMello wrote:
Tom Cloyd wrote:
[#308546] Suggestions for a parsing strategy? — Robb <Robb.Shecter@...>
Hi all,
[#308552] JRuby 1.1.3 Released — Thomas Enebo <Thomas.Enebo@...>
The JRuby community is pleased to announce the release of JRuby 1.1.3!
[#308580] execve syscall in ruby — Daniel Kamiski <maniel.rulez@...>
Hi
That's me again, now i know that i have to terminate an array with null
[#308584] repeat a method inside a string — Zoe Phoenix <dark_sgtphoenix@...>
I have a method that will generate a random HTML link, but I need to
[#308587] XML parser — C馘ric H. <cedric.hernalsteens@...>
Hi guys,
[#308610] system admin script — Ott Mr <sixfourimpala@...>
i am trying to find a good scripting language for Mac OS X. I was told
[#308614] Simple program with a simple(?) error -- what's wrong? — RichardOnRails <RichardDummyMailbox58407@...>
Hi,
[#308623] filtering email addresses — Luca Scaljery <lcalje@...>
Hi All
On Jul 20, 10:15=A0am, Luca Scaljery <lca...@gmail.com> wrote:
[#308642] Does "rescue" wihtour argument handle any kind of Exception or not? — Iñaki Baz Castillo <ibc@...>
Hi, I read in this article:
On Sunday 20 July 2008, I=C3=B1aki Baz Castillo wrote:
Stefano Crocco wrote:
On Sun, Jul 20, 2008 at 4:49 PM, Phlip <phlip2005@gmail.com> wrote:
>>>> begin
On Sun, Jul 20, 2008 at 5:04 PM, Phlip <phlip2005@gmail.com> wrote:
El Domingo, 20 de Julio de 2008, Phlip escribi=C3=B3:
On Sunday 20 July 2008, I=C3=B1aki Baz Castillo wrote:
[#308669] Why Thread.abort_on_exception = yes doesn't show errors? — Iñaki Baz Castillo <ibc@...>
Hi, when Thread.abort_on_exception =3D yes I don't see any error log in the=
I単aki Baz Castillo wrote:
El Domingo, 20 de Julio de 2008, Joel VanderWerf escribi=C3=B3:
El Domingo, 20 de Julio de 2008, I=C3=B1aki Baz Castillo escribi=C3=B3:
El Domingo, 20 de Julio de 2008, I=C3=B1aki Baz Castillo escribi=C3=B3:
[#308688] Grouping/Sorting an Array of objects — Howard Roberts <howardroberts@...>
Suppose I have an array of two different kinds of objects, each with
[#308694] Implementing ruby webservice after having used wsdl2ruby — Vipin Vm <vipin@...>
Hi All,
[#308698] rdoc 2.1.0 Released — Eric Hodel <drbrain@...7.net>
rdoc version 2.1.0 has been released!
Eric Hodel wrote:
I started playing with new release and frameless template doesn't work.
On Jul 21, 2008, at 14:05 PM, Marcin Raczkowski wrote:
Eric Hodel wrote:
Ryan Davis wrote:
I'm glad, i just started hacking, and don't know if i did good job, and
On Jul 23, 2008, at 02:04 AM, Marcin Raczkowski wrote:
Eric Hodel wrote:
On Jul 23, 2008, at 12:33 PM, Marcin Raczkowski wrote:
Eric Hodel wrote:
[#308699] protected members or explicit abstract classes? — aidy <aidy.lewis@...>
Hi,
Short answer:
Hi --
On Mon, Jul 21, 2008 at 2:37 PM, David A. Black <dblack@rubypal.com> wrote:
[#308704] Use of special character like @ in irb — mosar <jean.moser@...>
The version I use is 0.9.5. I want to code @ name = name(for example)
On Mon, Jul 21, 2008 at 4:04 AM, mosar <jean.moser@neuf.fr> wrote:
[#308731] How to invoke an external program and get anything the pgm returns back — "Victor Reyes" <victor.reyes@...>
Team,
[#308736] read CSV file using csv library — Li Chen <chen_li3@...>
Hi all,
Hey you can use faster csv instead using the standard csv ruby library.
kranthi reddy wrote:
Hi,
kranthi reddy wrote:
Frank Guerino wrote:
Marvin G端lker wrote:
Frank Guerino wrote:
I just realized that in Ruby 1.9 there shouldn't be the need to install
Marvin G端lker wrote:
[#308745] Get Owner of a file — Charles Heizer <heizer1@...>
Hello,
[#308758] how do i open a terminal using ruby? — Philip Rutkowski <phil@...>
hi-
[#308761] bj and rails 2.1 - can't get bj to run jobs — dusty <dusty.doris@...>
I have been trying to setup bj with rails 2.1.0 and am having some
[#308770] interacting with a shell script (ssh) — unbewusst.sein@... (Une B騅ue)
[#308783] Action mailer — Sujith Gangaraju <sujithkumar@...>
i want how to recieve mails to inbox
[#308797] Filling multidimensional array problem — "Indra M." <peppermint_petty@...>
Hi,
[#308799] RMagick 5th anniversary — Tim Hunter <TimHunter@...>
Today is the 5th anniversary of the first appearance of RMagick on
[#308831] simple module for "count my instances" behaviour — Julien Thewys <jt@...>
I want to make a simple module that makes its including classes
On Tue, Jul 22, 2008 at 8:07 PM, ara.t.howard <ara.t.howard@gmail.com> wrote:
Robert Dober wrote:
[#308836] fastercsv and several row — Li Chen <chen_li3@...>
Hi all,
[#308847] how to capitalize a number of characters in a word — Cheyne Li <happy.go.lucky.clr@...>
Hi, there
Cheyne Li wrote:
[#308862] How to do group Exception classes? — Iñaki Baz Castillo <ibc@...>
Hi, I've some exception that I want to group into "AuthError" class so I ca=
[#308880] Ruby and RDBS — "Thilanka Marasinghe" <thilankaster@...>
This may seem like a very newb question. BUt are there any groups or
[#308884] Is there a simple way to find a method definition? — Ruby Freak <twscannell@...>
Hi,
[#308907] Generate accessors for an hash — Andrea Gianarro <giandrea@...>
Hello, I need to generate read and write accessors for all the keys in
[#308909] circular 'require' — Shadowfirebird <shadowfirebird@...>
Hi,
On Wednesday 23 July 2008, Shadowfirebird wrote:
On Wed, Jul 23, 2008 at 12:18 PM, Stefano Crocco
*Is* there any executable code in my two example programs, other than
On Wed, 2008-07-23 at 20:39 +0900, Calamitas wrote:
I found a very easy way around it. This is what bothers me. If it's
On Wed, 2008-07-23 at 22:48 +0900, Shadowfirebird wrote:
Yes, I can see now that in your example no order of loading will allow
2008/7/23 Shadowfirebird <shadowfirebird@gmail.com>:
I've had my think.
Shadowfirebird wrote:
[#308916] read document in browser itself — Sujith Gangaraju <sujithkumar@...>
[#308918] Good exercises for beginner — Sam Haskins <sam.haskins@...>
Hello all,
[#308927] Errors installing RedCloth 4.0 on Windows XP — "John T." <johnts@...>
I tried installing/upgrading RedCloth to 4.0 on this Windows XP box, but
I think I know what happened--you're using an older version of RubyGems
[#308951] Of GUIs threads and scheduling woes — "Glen Holcomb" <damnbigman@...>
I have a small GUI app that I have written the purposes for it's creation
Glen Holcomb wrote:
On Thu, Jul 24, 2008 at 2:24 AM, Alex Fenton <alex@deleteme.pressure.to>
[#308953] multiple constructors? — aidy <aidy.lewis@...>
Hi,
[#308968] BJ - Reaping 1 threads for slow workers because of 'shutdown' — dusty <dusty.doris@...>
I'm calling Bj from inside a controller in rails.
[#308988] RubyWeekend #2 game contest this weekend — "John Croisant" <jacius@...>
The second RubyWeekend game creation contest is this weekend. The
T24gV2VkLCBKdWwgMjMsIDIwMDggYXQgNjowMCBQTSwgSm9obiBDcm9pc2FudCA8amFjaXVzQGdt
[#309001] word document in html html format — Sujith Gangaraju <sujithkumar@...>
i am uploading one word document
[#309006] differnce between .nil? , .empty?, .blank? — Sijo Kg <sijo@...>
Hi
[#309021] Ruby-Talk Admin — Trans <transfire@...>
Who is the Ruby-Talk Admin?
[#309031] Gem install of rubyzip working, but not. — Nathan Loyer <4namlet@...>
I installed the rubyzip gem with the command:
[#309045] Rendering an mp3 as a waveform image in ruby?? — Max Williams <toastkid.williams@...>
Does anyone know of a way, in ruby, to render an mp3 into a waveform
[#309059] what is "p"? — matu <m@...>
a really really stupid question:
[#309064] Library Metadata Storage Format — Thomas Sawyer <transfire@...>
Hi--
[#309074] Simultaneously URL call, is it possible? — Toki Toki <toki84@...>
Hi to all!
Toki Toki wrote:
matu wrote:
El Jueves, 24 de Julio de 2008, Toki Toki escribi=C3=B3:
I単aki Baz Castillo wrote:
Toki Toki wrote:
S2 wrote:
On Fri, Jul 25, 2008 at 1:25 PM, Toki Toki <toki84@gmail.com> wrote:
[#309077] avoid reinstalling gem (if its already installed?) — "Rob Sanheim" <rsanheim@...>
Is there a way to have rubygems not reinstall a gem if the latest
On Jul 24, 2008, at 13:26 PM, Rob Sanheim wrote:
[#309078] RedCloth 4.0.0 -- Total rewrite - less buggy - 40x fas — Jason Garber <jg@...>
I sent this message to the list early Tuesday morning, but it never
[#309089] inline comments in future release? — Mike Schwab <mike.schwab@...>
Are inline comments a potential feature of Ruby 2.0?
ha ha sorry if I was unclear. I meant comments that can have more code
Mike Schwab wrote:
> If you have so much code on one line that you feel the need for inline
Mike Schwab wrote:
RnJvbTogTWljaGFlbCBXLiBSeWRlciBbbWFpbHRvOl9td3J5ZGVyQHdvcmxkbmV0LmF0dC5uZXRd
total_charges =3D line_charge_1 + line_charge_2 + misc_charges
From: Jeremy McAnally [mailto:jeremymcanally@gmail.com]=20
On Thu, Jul 24, 2008 at 11:22 PM, Pe=F1a, Botp <botp@delmonte-phil.com> wro=
[#309128] how to disable ctrl + c key in ruby on rails — Sujith Gangaraju <sujithkumar@...>
I am showing document in browser
[#309133] reading from a .ini file — Kishore Rp <kishore007@...>
Hi all,
[#309143] Regexp Ruby selection — "touffik@..." <touffik@...>
Hi folks,
[#309165] weird backsplash behaviour inside single quotes — "Michal Suchanek" <hramrach@...>
Hello
On Fri, Jul 25, 2008 at 8:34 AM, Michal Suchanek <hramrach@centrum.cz> wrote:
On Fri, Jul 25, 2008 at 9:33 AM, Todd Benson <caduceass@gmail.com> wrote:
On 25/07/2008, Todd Benson <caduceass@gmail.com> wrote:
2008/7/25 Michal Suchanek <hramrach@centrum.cz>:
Pit Capitain wrote:
2008/7/25 Sebastian Hungerecker <sepp2k@googlemail.com>:
[#309172] Ruby 1.9.0-3 is released — "Yugui (Yuki Sonoda)" <yugui@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#309173] Interesting Array Initialization Typo — Maciej Tomaka <lunatyq@...>
When initializing for example : [ [1, 2], [2, 3], [3, 2] ]
[#309180] Monitor Error when Joining Threads — Bryan Richardson <btrichardson@...>
Hello all,
[#309182] RubyZipFIleSystem - help with simple task — Nathan Loyer <4namlet@...>
I am new to Ruby, but am doing my best. I have a zip file that I'm
[#309194] hexdump (#171) — "Matthew Moss" <matthew.moss@...>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[#309221] rubyforge forgets I'm logged in — Roger Pack <rogerpack2005@...>
Has anyone else run into some problems of rubyforge forgetting that you
[#309243] local constant — aidy <aidy.lewis@...>
Hi,
On Jul 26, 4:19=A0pm, Phlip <phlip2...@gmail.com> wrote:
On Sat, Jul 26, 2008 at 5:53 PM, aidy <aidy.lewis@googlemail.com> wrote:
[#309254] head/tail split for path — Trans <transfire@...>
I need to split a path by head/*tail.
[#309256] DSL/thread design question — David Masover <ninja@...>
I am writing something which I am calling "suits" for now -- the idea
[#309273] Faster Marshaling? — Greg Willits <lists@...>
Exploring options... wondering if there's anything that can replace
On Jul 26, 2008, at 19:58 PM, Greg Willits wrote:
Eric Hodel wrote:
On Sunday 27 July 2008 00:07:10 Greg Willits wrote:
David Masover wrote:
[#309278] deaf grandma. — Houston Barnett-gearhart <americanpragmatic@...>
i picked up ruby 2 days ago & have been bustlin' chris pine's "learn to
On Sat, Jul 26, 2008 at 8:31 PM, Houston Barnett-gearhart
thank you, martin, for your reply. i took your advice & wrote an
On Sun, Jul 27, 2008 at 2:32 PM, houston barnett-gearhart
Martin, is there any way I can get in touch with you outside of the
On Sun, Jul 27, 2008 at 11:51 PM, houston barnett-gearhart
I don't know why this is so hard for me to get my head around, but
On Mon, Jul 28, 2008 at 1:32 PM, houston barnett-gearhart
Martin, I believe I've successfully written the first portion of Chris
On Mon, Jul 28, 2008 at 11:30 PM, houston barnett-gearhart
Martin, regardless of having been away I don't need another loop, I seem
[#309289] net-ssh and remote shell — unbewusst.sein@... (Une B騅ue)
[#309300] "nested" methods — Stefan Buhr <buhrmi@...>
Hi there,
[#309311] problems with throw/catch (newbie) — Thomas Luedeke <thomas.luedeke@...>
I'm trying to do something that I think would be pretty trivial. I've
Thomas Luedeke wrote:
Joshua Ballanco wrote:
Joel VanderWerf wrote:
Joshua Ballanco wrote:
[#309332] Camping not saving @state — Fred Phillips <fophillips@...>
I have a sqlite3 database with the sessions table and schema set up
Okay the problem was with ActiveRecord 2.1, downgrading to 2.0.2 fixed
[#309335] Is it possible to change the superclass of one class dynamic — Sean Liu <seanliugm@...>
[#309339] Single Line replacement in file — Raveendran Jazzez <jazzezravi@...>
Hi All,
[#309352] "or" and "and" — es_ <esuomikim@...>
Hi,
[#309367] Gsup with variable when replacing — Romain LOMBARDO <touffik@...>
Hi people,
[#309387] Win32ole equivalent for Mac OS X — Nathan Loyer <4namlet@...>
Is there an equivalent library for the Win32ole library on the PC? I
Nathan Loyer wrote:
On Mon, Jul 28, 2008 at 1:30 PM, Nathan Loyer <4namlet@gmail.com> wrote:
Glen Holcomb wrote:
On Mon, Jul 28, 2008 at 12:54 PM, Nathan Loyer <4namlet@gmail.com> wrote:
[#309394] IO.pos bug? — andrey <Andrey.D.Nikitin@...>
irb(main):001:0> f = File.new("/etc/host.conf")
[#309395] what is %w — Joel Saltzmanjoelh <talk@...>
What is the %w used for in ruby?
[#309434] Running methods in parallel — Skave Rat <skaverat@...>
is there a way to parallelize ruby methods?
[#309441] Concurrent Ruby? — Kyle Murphy <kmurph79@...>
Apologies if this is a really stupid question, I am new to programming,
On Monday 28 July 2008 23:17:22 Kyle Murphy wrote:
-----BEGIN PGP SIGNED MESSAGE-----
On Tuesday 29 July 2008 06:01:10 Florian Gilcher wrote:
[#309442] and and or in case — Pe, Botp <botp@...>
Hi All, apologies in advanced if this has been discussed already
Pe単a,
RnJvbTogQmVuIEJyaWdodHdlbGwgW21haWx0bzpuZW9naWE0QGdtYWlsLmNvbV0gDQojIFRoZSB3
On 29 Jul 2008, at 08:47, Pe=F1a, Botp wrote:
[#309443] Another Deaf Grandma Topic, different issue — Phee Luche <phee92@...>
I'm trying to learn using a tut, and I'm getting stuck on one of the
Phee Luche wrote:
Ben Brightwell wrote:
On Mon, Jul 28, 2008 at 10:15 PM, Phee Luche <phee92@gmail.com> wrote:
[#309455] Can't connect to MySQL server — Darshana Gangwal <darshna.17@...>
Hi
[#309463] about class in module — Kyung won Cheon <kdream95@...>
-- test1.rb --
[#309469] net/ssh unsupported algorithm: DSS1withDSA (OpenSSL::PKey::PKeyError) — unbewusst.sein@... (Une B騅ue)
I've migrated from CRuby to jRuby with the same code for ssh connection.
[#309472] libxml: is it possible not to use doctype declaration? — "ruud grosmann" <r.grosmann@...>
hi all,
ruud grosmann wrote:
hi Phlip,
ruud grosmann wrote:
hi Phlip,
ruud grosmann wrote:
To start, the rdoc documentation can be found at
Whoops, those were supposed to be class variables. What you really want
[#309505] OT: comp.lang.ruby spam — aidy <aidy.lewis@...>
Hi,
[#309520] how regenerate ri data? — matt@... (matt neuburg)
http://rubyforge.org/forum/forum.php?forum_id=25981:
[#309529] Time.rb path — "Matias Pablo Brutti" <matiasbrutti@...>
V2hpbGUgd29ya2luZyBvbiBhIHByb2plY3QgSSBjYW1lIGFjcm9zcyB3aXRoIGEgcHJvYmxlbSB0
[#309570] Q: Documentation for PGconn — "G. Ralph Kuntz, MD, MS" <grk@...>
Is there any documentation for PGconn (or postgres/postgres)? When I
[#309572] Re: How to do methodsoverloading in — Jeff Moore <jcmoore@...>
Sunny Bogawat wrote:
I think I'm right in saying that a OOP does not require method overloading?
Shadowfirebird wrote:
>> Given that Ruby is typeless, I'm not sure how it would be otherwise.
Hi --
[#309589] Suggestions for improving a trivial tag parser — "Gregory Brown" <gregory.t.brown@...>
Hi folks,
What about
On 30-07-2008, at 13:53, Robert Dober wrote:
On Wed, Jul 30, 2008 at 8:12 PM, Rolando Abarca <funkaster@gmail.com> wrote:
On Wed, Jul 30, 2008 at 4:35 PM, Robert Dober <robert.dober@gmail.com> wrote:
On Wed, Jul 30, 2008 at 10:43 PM, Gregory Brown
[#309590] My simple downloader doesn't work — "Mateusz Tybura" <wujciol@...>
Hello,
It still don't work:
On Thu, Jul 31, 2008 at 3:29 AM, WujcioL <WujcioL@gmail.com> wrote:
[#309599] Loop behavior not understood (newbie) — Thomas Luedeke <thomas.luedeke@...>
My coding looks like this:
On Wed, Jul 30, 2008 at 2:59 PM, Thomas Luedeke
Gregory Brown wrote:
On Wed, Jul 30, 2008 at 3:33 PM, Thomas Luedeke
Gregory Brown wrote:
On Wed, Jul 30, 2008 at 4:07 PM, Thomas Luedeke
[#309627] gc doesn't collect? — Roger Pack <rogerpack2005@...>
Any ideas why:
The thing with garbage collection (in most languages, I don't know about
[#309646] super with block — Lou Zell <lzell11@...>
Hi all,
On Thu, Jul 31, 2008 at 11:06 AM, Lou Zell <lzell11@gmail.com> wrote:
> Hi,
Mikael, I can deal with that, I'll swap out the $'s with block params.
On Thu, Jul 31, 2008 at 7:10 PM, Lou Zell <lzell11@gmail.com> wrote:
[#309649] webgen 0.5.1 released — Thomas Leitner <t_leitner@...>
Hey everybody!
[#309650] Help me with this Numerology code please... — Web Reservoir <webreservoir@...>
Hi,
Web Reservoir wrote:
Web Reservoir wrote:
[#309653] Cool Projects — Alasdair Bell <alasdair@...>
So, anyone working on something awesome?
On Thu, Jul 31, 2008 at 7:10 AM, Alasdair Bell <alasdair@seedcamp.com> wrote:
[#309670] Input redirection in ruby — "Michal Suchanek" <hramrach@...>
Hello
[#309676] How to get special directories? — Niklas Baumstark <niklas.baumstark@...>
hi all,
Niklas Baumstark wrote:
> "/" should get you the home folder in linux
Hi,
On Jul 31, 2008, at 07:57 AM, Niklas Baumstark wrote:
Eric Hodel wrote:
[#309711] File manipulation — Tim Mcd <tmcdowell@...>
So, I am currently working on a MUD (Online multiplayer text based game,
On 31.07.2008 20:22, Tim Mcd wrote:
Hi Robert,
[#309723] Needing help with which to_s gets called — John Winters <john@...>
I'm a beginner learning Ruby and I've hit something which I can't find
John Winters wrote:
Sebastian Hungerecker wrote:
[#309739] RubyGems - update made a mess - help needed with Windows — Becca Girl <cschall@...>
I just did a system update of RubyGems and it just broke my rake test. I
On Aug 1, 12:25=A0am, Becca Girl <csch...@yahoo.com> wrote:
Luis Lavena wrote:
Ryan Davis wrote:
Re: circular 'require'
On Wed, 2008-07-23 at 20:39 +0900, Calamitas wrote:
> test1.rb is executed twice, but what probably caused the error in the
> OP's original program (the OP pared it down to a point where it
> actually did "work") is the fact that "the rest of test1.rb" is
> executed before "the rest of test2.rb". It can probably be solved by
> doing "ruby -r test1.rb" instead, but that's icky. Generally, if I
> *were* to use circular requires, I'd never put "executable code" in
> either file, just "declarations". I don't use them though. Not anymore
> after I've been bitten a few times.
Here's what the OP was talking about, I suspect, taken down to its
briefest possible example:
$ cat test1.rb
require 'test2'
class NeededInTest2
@@funny_stuff = NeededInTest1.new
end
michael@isolde:~/junk$ cat test2.rb
require 'test1'
class NeededInTest1
@@funny_stuff = NeededInTest2.new
end
michael@isolde:~/junk$ ruby test1.rb
./test1.rb:3: uninitialized constant NeededInTest2::NeededInTest1 (NameError)
from /home/michael/software/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /home/michael/software/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./test2.rb:1
from /home/michael/software/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /home/michael/software/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from test1.rb:1
This is the problem boiled down to its essence. There is no easy way
out of this either that doesn't either a) mangle the architecture or b)
fail. You can't use something like C/++'s "include guards" to get
around this, nor can you use any kind of super-class elevation trick or
the like. What would be needed to solve this issue would be for ruby to
have a proper sense of modules and do linkage across those instead of
treating the entire tree of requires as, in effect, one ginormous text
file.
--
Michael T. Richter <ttmrichter@gmail.com> (GoogleTalk:
ttmrichter@gmail.com)
Theory is knowledge that doesn't work. Practice is when everything works
and you don't know why. (Hermann Hesse)