[#124921] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...>

Finally, after what seemed to be an endless series

36 messages 2005/01/01
[#125109] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Johan Nilsson" <johan.nilsson@...> 2005/01/04

[#125120] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...> 2005/01/04

Johan Nilsson wrote:

[#125147] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Johan Nilsson" <johan.nilsson@...> 2005/01/05

[#125263] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — Mark Smith <maslists@...> 2005/01/06

Johan Nilsson said the following on 1/5/2005 2:08 AM:

[#125300] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...> 2005/01/06

Mark Smith wrote:

[#125355] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — Stephan K舂per <Stephan.Kaemper@...> 2005/01/06

Curt Hibbs wrote:

[#124940] RubyGems 0.8.4 — Chad Fowler <chadfowler@...>

= Announce: RubyGems Release 0.8.4

54 messages 2005/01/01
[#125112] Re: [ANN] RubyGems 0.8.4 — Paul Duncan <pabs@...> 2005/01/04

* Chad Fowler (chadfowler@gmail.com) wrote:

[#125114] Ruby JOBS all around the world — MiG <mig@1984.cz> 2005/01/04

[#125122] Re: Ruby JOBS all around the world — Lothar Scholz <mailinglists@...> 2005/01/04

Hello MiG,

[#125152] Re: Ruby JOBS all around the world — Premshree Pillai <premshree.pillai@...> 2005/01/05

On Wed, 5 Jan 2005 07:47:49 +0900, Lothar Scholz

[#125155] Re: Ruby JOBS all around the world — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2005/01/05

-----BEGIN PGP SIGNED MESSAGE-----

[#125166] Re: Ruby JOBS all around the world — Mikael Brockman <mikael@...> 2005/01/05

"Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> writes:

[#125172] Re: Ruby JOBS all around the world — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2005/01/05

-----BEGIN PGP SIGNED MESSAGE-----

[#125066] Seeking info on keyword parameters — "itsme213" <itsme213@...>

Will 2.0 make the names of keyword parameters available via reflection?

26 messages 2005/01/04
[#125067] Re: Seeking info on keyword parameters — Yukihiro Matsumoto <matz@...> 2005/01/04

Hi,

[#125073] Re: Seeking info on keyword parameters — gabriele renzi <rff_rff@...> 2005/01/04

Yukihiro Matsumoto ha scritto:

[#125075] Re: Seeking info on keyword parameters — Yukihiro Matsumoto <matz@...> 2005/01/04

Hi,

[#125142] what's the Ruby way to do this? — Miles Keaton <mileskeaton@...>

What's the Ruby way to do this?

16 messages 2005/01/05

[#125159] foxGUIb - Interactive Fox GUI Builder and Code Generator — "henon (meinrad recheis)" <meinrad.recheis__nospam__@...>

foxGUIb is an interactive gui builder for fxruby written entirely in Ruby.

36 messages 2005/01/05
[#125171] Re: [ANN] foxGUIb - Interactive Fox GUI Builder and Code Generator — "Luis G. Gez" <lgomez@...> 2005/01/05

I get:

[#125206] Ruby Data Structure Query Abstractions/Patterns — Nicholas Van Weerdenburg <vanweerd@...>

Hi all,

16 messages 2005/01/05

[#125234] Shopping cart ... — Sarah Tanembaum <sarahtanembaum@...>

Is there any good(secure) Ruby shopping cart program example? Thanks

29 messages 2005/01/05

[#125236] Image decompression, eruby — Belorion <belorion@...>

I am working on a website with a MySQL backend. The site allows

15 messages 2005/01/05

[#125237] Return from a block? — Howard Lewis Ship <hlship@...>

I've had a couple of places where I really needed to just return from

17 messages 2005/01/05

[#125271] Ruby design question: lazy construction of object graph containing forward references — "itsme213" <itsme213@...>

Seeking help, Ruby gurus ...

11 messages 2005/01/06

[#125399] Collecting list of most wanted libraries and apps to port to ruby — Thursday <nospam@...>

I think it might be a good idea for us to collect feedback on the most

42 messages 2005/01/07
[#125451] Re: Collecting list of most wanted libraries and apps to port to ruby — PA <petite.abeille@...> 2005/01/07

[#125427] LCD Numbers (#14) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

28 messages 2005/01/07

[#125460] Ruby on AIX? — Andreas Semt <as@...>

Hello list!

20 messages 2005/01/07

[#125474] RubyForge themes — Tom Copeland <tom@...>

Howdy -

23 messages 2005/01/07

[#125528] Construct [*nil] works differently in 1.6 and 1.8 — Gennady Bystritksy <gfb@...>

Hi, rubyists

13 messages 2005/01/07

[#125594] Type inference in ruby — "Trevor Andrade" <trevor.andrade@...>

Hello all,

25 messages 2005/01/08

[#125682] Python vs Ruby — Lethalman <lethalman@...>

(sorry for my poor English)

93 messages 2005/01/09
[#125729] Re: Python vs Ruby — Lothar Scholz <mailinglists@...> 2005/01/09

Hello Lethalman,

[#125730] Re: Python vs Ruby — Premshree Pillai <premshree.pillai@...> 2005/01/09

On Mon, 10 Jan 2005 04:06:40 +0900, Lothar Scholz

[#125736] Re: Python vs Ruby — Lothar Scholz <mailinglists@...> 2005/01/09

Hello Premshree,

[#125767] Serious programmers and syntax (was Re: Python vs Ruby) — David Heinemeier Hansson <david@...> 2005/01/09

> IMHO the different syntax shouldn't be an argument for a "serious"

[#125957] Re: Serious programmers and syntax (was Re: Python vs Ruby) — Douglas Livingstone <rampant@...> 2005/01/10

> > IMHO the different syntax shouldn't be an argument for a "serious"

[#125789] Re: Python vs Ruby — Thursday <nospam@...> 2005/01/10

Lethalman wrote:

[#125810] Re: Python vs Ruby — Premshree Pillai <premshree.pillai@...> 2005/01/10

On Mon, 10 Jan 2005 11:56:22 +0900, Thursday

[#125871] Re: Python vs Ruby — Yukihiro Matsumoto <matz@...> 2005/01/10

Hi,

[#125850] Re: Python vs Ruby — "benjamin.ferrari" <benjamin.ferrari@...> 2005/01/10

[#125734] Ruby Quiz #14 LCD Numbers ( solution #2 ) — email55555 email55555 <email55555@...>

Wow ... Jannis Harder's solution is really short ....

17 messages 2005/01/09

[#125798] Duck Typing as Pattern Matching — "itsme213" <itsme213@...>

I am not a type-system expert, but I started thinking about Ruby-based duck

27 messages 2005/01/10

[#125817] Immediate values — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>

-----BEGIN PGP SIGNED MESSAGE-----

33 messages 2005/01/10

[#125995] why dosn't ruby support // to comment? — "bin liu" <ruby@3cn.com.cn>

i think use keyboard type "//" is fast than "#" to comment one line code.

28 messages 2005/01/11

[#126015] mod_ruby & rails doc? — Aquila <braempje@...>

Is there a place where I can find information on using mod_ruby? A single

14 messages 2005/01/11

[#126064] Soks - Yet Another Wiki — Thomas Counsell <tamc2@...>

http://rubyforge.org/projects/soks/

33 messages 2005/01/11
[#126065] Re: [ANN] Soks - Yet Another Wiki — Florian Gross <flgr@...> 2005/01/11

Thomas Counsell wrote:

[#126081] Net::SSH 0.9.0 — Jamis Buck <jamis_buck@...>

Net::SSH is a pure-Ruby implementation of an SSH2-compatible client.

12 messages 2005/01/11

[#126103] Comparing two files for equality — Edgardo Hames <ehames@...>

Hi everybody,

13 messages 2005/01/12

[#126112] Ruby on Rails tutorial FAILED on Windows ... — Sarah Tanembaum <sarahtanembaum@...>

I follow the Ruby on Rail documentation, it works up to list method.

10 messages 2005/01/12

[#126136] Nitro + Og 0.8.0 — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

14 messages 2005/01/12

[#126149] Webrick, erb, and .rhtml — Belorion <belorion@...>

I am trying to get a basic Webrick server running to serve up .rhtml

14 messages 2005/01/12

[#126273] Nemo 0.1.0 + Wee 0.4.0 — Michael Neumann <mneumann@...>

Hi Rubyists,

24 messages 2005/01/13

[#126292] Proliferation of web frameworks — Carl Youngblood <carlwork@...>

I don't know about you guys, but I'm starting to be overwhelmed by the

38 messages 2005/01/13
[#126298] Re: Proliferation of web frameworks — "George Moschovitis" <george.moschovitis@...> 2005/01/13

> I don't know about you guys, but I'm starting to be overwhelmed by

[#126303] Re: Proliferation of web frameworks — Lothar Scholz <mailinglists@...> 2005/01/13

Hello George,

[#126304] Re: Proliferation of web frameworks — PA <petite.abeille@...> 2005/01/13

[#126315] Mutable strings — "Mystifier" <mystifier@...>

Hi All,

20 messages 2005/01/13
[#126346] Re: Mutable strings — Nikolai Weibull <mailing-lists.ruby-talk@...> 2005/01/13

* Mystifier (Jan 13, 2005 19:50):

[#126332] Web Testing in Ruby — Laurent Julliard <laurent__nospam__@...>

Sorry if this question has already been asked 200 times... I'm trying

19 messages 2005/01/13
[#126337] Re: [Q] Web Testing in Ruby — stevetuckner <stevetuckner@...> 2005/01/13

Laurent Julliard wrote:

[#126338] Re: [Q] Web Testing in Ruby — Dick Davies <rasputnik@...> 2005/01/13

* stevetuckner <stevetuckner@usfamily.net> [0124 21:24]:

[#126343] ruby-gnome2 : problem with signal "insert-text" — oxman <no@...>

Hello,

22 messages 2005/01/13
[#126434] Re: ruby-gnome2 : problem with signal "insert-text" — Peter Stuifzand <peter.stuifzand@...> 2005/01/14

On Fri, 14 Jan 2005 07:01:14 +0900, oxman <no@in-your-dream.net> wrote:

[#126454] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/14

Thanks.

[#126538] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

Humm, after many test, I see my code is executed immediately.

[#126554] Re: ruby-gnome2 : problem with signal "insert-text" — "Michael C. Libby" <mcl-ruby-talk@...> 2005/01/15

On Sat, Jan 15, 2005 at 06:36:17PM +0900, oxman wrote:

[#126564] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

It don't work.

[#126569] Re: ruby-gnome2 : problem with signal "insert-text" — "Michael C. Libby" <mcl-ruby-talk@...> 2005/01/15

On Sat, Jan 15, 2005 at 10:21:10PM +0900, oxman wrote:

[#126574] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

The code :

[#126392] A patch for irb, where to submit? — Csaba Henk <csaba@..._for_avoiding_spam.org>

Hi!

12 messages 2005/01/14

[#126411] Duck Typing and automated Conversions — "Robert Klemme" <bob.news@...>

41 messages 2005/01/14

[#126450] Animal Quiz (#15) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

13 messages 2005/01/14

[#126521] Re: why dosn't ruby support // to comment? — E S <eero.saynatkari@...>

> L臧ett臻篋 nobu.nokada@softhome.net

12 messages 2005/01/15

[#126572] Pimki 1.4 — "Assaph Mehr" <assaph@...>

Pimki 1.4.092 highights:

15 messages 2005/01/15

[#126581] Ruby CMS — Luke Galea <lgalea@...>

Hi Rubyists:

20 messages 2005/01/15

[#126639] Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...>

I'm taking a little poll.

94 messages 2005/01/16
[#126681] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/16

Hi --

[#126690] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/16

On Sunday 16 January 2005 07:35 am, David A. Black wrote:

[#126694] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/16

Hi --

[#126824] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Sunday 16 January 2005 09:09 am, David A. Black wrote:

[#126842] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/17

Hi --

[#126851] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Monday 17 January 2005 08:20 am, David A. Black wrote:

[#126852] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/17

Hi --

[#126857] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Monday 17 January 2005 09:21 am, David A. Black wrote:

[#126684] Re: [suby-ruby] Your all time desired fundemental Ruby mod — Jim Menard <jimm@...> 2005/01/16

On Jan 15, 2005, at 7:23 PM, trans. (T. Onoma) wrote:

[#126649] Bug#290705: ruby: Ruby is completly vivisected. — Trevor Wennblom <wenn0029@...>

Package: ruby

14 messages 2005/01/16

[#126720] which gui toolkit — thegandhi@..._CUTHERE (Gandhi)

Sorry if this question comes up often,

20 messages 2005/01/16

[#126811] Creating an instance from a variable — Peter Hickman <peter@...>

I have a class like this:

18 messages 2005/01/17

[#126843] is defined? fast? — "George Moschovitis" <george.moschovitis@...>

Hello everyone, I have a simple question:

17 messages 2005/01/17

[#126911] My regexp stupidity needs assistance before loose all my hair! — "trans. (T. Onoma)" <transami@...>

Let me painfully honest: I hate parsing, especially w/ regexp, and I don't

22 messages 2005/01/17
[#126914] Re: My regexp stupidity needs assistance before loose all my hair! — Zach Dennis <zdennis@...> 2005/01/17

trans. (T. Onoma) wrote:

[#126937] Re: Ignoring RUBYOPT ? — E S <eero.saynatkari@...>

14 messages 2005/01/17

[#127002] Ruby Weekly News 10th - 16th January 2005 — timsuth@... (Tim Sutherland)

http://www.rubygarden.org/ruby?RubyNews/2005-01-10

10 messages 2005/01/18

[#127024] Goodle Groups and My New Address — tsawyer@...

Just an FYI I will be moving all my email activity to my gmail address

16 messages 2005/01/18
[#127046] Re: Goodle Groups and My New Address — Craig Moran <craig.m.moran.ruby@...> 2005/01/18

I am using this Google email addy specifically for the Ruby ML and

[#127057] value by reference — Mohammad Khan <mkhan@...>

Before telling my issue, let me show my script:

71 messages 2005/01/18
[#127058] Re: value by reference — "trans." <tsawyer@...> 2005/01/18

I beleive it is by reference, the problem is you need to modify

[#127090] Re: value by reference — "trans." <tsawyer@...> 2005/01/19

Sorry. #succ does not act inplace and nothing does on Fixnum. Its been

[#127121] Re: value by reference — Florian Gross <flgr@...> 2005/01/19

trans. wrote:

[#127127] Re: value by reference — Glenn Parker <glenn.parker@...> 2005/01/19

Florian Gross wrote:

[#127131] Re: value by reference — "David A. Black" <dblack@...> 2005/01/19

Hi --

[#127135] Re: value by reference — Michel Martens <blaumag@...> 2005/01/19

It's easy to accomplish this task with strings:

[#127137] Re: value by reference — "David A. Black" <dblack@...> 2005/01/19

Hi --

[#127139] Re: value by reference — Michel Martens <blaumag@...> 2005/01/19

On Thu, 20 Jan 2005 00:19:13 +0900, David A. Black <dblack@wobblini.net> wrote:

[#127128] Re: value by reference — "trans." <tsawyer@...> 2005/01/19

Right. I'm not suggesting that Ruby change this. I'm just wondering if

[#127147] Re: value by reference — Mohammad Khan <mkhan@...> 2005/01/19

#!/usr/bin/env ruby

[#127064] aeditor-2.1 (megacorp release) — Simon Strandgaard <neoneye@...>

shots:

11 messages 2005/01/18

[#127086] 1.8.2 - conituations memory leak fixed? — "Wilkes" <wilkesjoiner@...>

Is this still an issue with the "official" release?

15 messages 2005/01/19

[#127313] Open Source Licenses against Software Patents — Pit Capitain <pit@...>

Applying for a new RubyForge project is harder than I thought :-), cause I have

15 messages 2005/01/20

[#127316] Confused about variable "declarations" — Graham Nicholls <graham@...>

19 messages 2005/01/20

[#127407] Fwd: OSCON Call For Proposals Now Open — Chad Fowler <chadfowler@...>

Hi All. Attached is the announcement for this year's Oreilly Open

24 messages 2005/01/20
[#127433] Re: OSCON Call For Proposals Now Open — David Heinemeier Hansson <david@...> 2005/01/21

> We want _everyone_ to be talking about the Ruby track this year. :)

[#127437] Ta-da list (Was: Re: OSCON Call For Proposals Now Open) — Jordi Bunster <jordi@...> 2005/01/21

[#127455] Re: [Rails] ONLamp article on Rails — "Curt Hibbs" <curt@...>

Marcel Molina Jr. wrote:

23 messages 2005/01/21

[#127465] Xpath like syntax — Luke Galea <lgalea@...>

Hi all,

18 messages 2005/01/21

[#127512] Paper Rock Scissors (#16) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

30 messages 2005/01/21

[#127513] Refernce objects — Richard Turner <richard@...>

Hi,

14 messages 2005/01/21

[#127580] Installation trouble — Ghislain MARY <nospam@...>

Hi all,

24 messages 2005/01/21

[#127596] Reasons to consider learning Ruby? — Preston Crawford <me@...>

I'm completely new to Ruby and Python. I'd like to learn another language

17 messages 2005/01/21

[#127599] Use of scaffolding in the ONLamp Rails tutorial — Lyle Johnson <lyle.johnson@...>

I'm going through Curt's excellent Rails tutorial (at

10 messages 2005/01/21

[#127657] Ruby for mobile phones? — "cyberco" <cyberco@...>

Hi,

14 messages 2005/01/22

[#127733] looking at ruby... — Sean T Allen <sean@...>

So I'm looking at ruby for both personal and work projects.

32 messages 2005/01/23
[#127744] Re: looking at ruby... — Eric Hodel <drbrain@...7.net> 2005/01/23

On 22 Jan 2005, at 20:03, Sean T Allen wrote:

[#127745] Re: looking at ruby... — Lothar Scholz <mailinglists@...> 2005/01/23

Hello Eric,

[#127821] Re: looking at ruby... — Eric Hodel <drbrain@...7.net> 2005/01/23

On 22 Jan 2005, at 23:57, Lothar Scholz wrote:

[#127780] Self and Ruby Comparisons — "Mystifier" <mystifier@...>

Hi

39 messages 2005/01/23
[#127865] Re: Self and Ruby Comparisons — Csaba Henk <csaba@..._for_avoiding_spam.org> 2005/01/24

On 2005-01-23, Mystifier <mystifier@users.berlios.de> wrote:

[#127790] TCPSocket.new blocks other threads — "christoph.heindl@..." <christoph.heindl@...>

hi,

14 messages 2005/01/23

[#127899] attr — "Trans" <transfire@...>

In the upcoming release of Ruby Carats I have a little lib called

38 messages 2005/01/24

[#127951] New user questions — "brundlefly76" <chris.schoenfeld@...>

I have been a production Perl programmer for about 10 years, and am

19 messages 2005/01/24

[#127966] Convert a Hash into an Array — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>

-----BEGIN PGP SIGNED MESSAGE-----

22 messages 2005/01/24

[#127973] "Duck Typing" or "No need for abstract classes" — Edgardo Hames <ehames@...>

Hi, you all.

47 messages 2005/01/24
[#128038] Re: "Duck Typing" or "No need for abstract classes" — Mathieu Bouchard <matju@...> 2005/01/25

[#128061] Re: "Duck Typing" or "No need for abstract classes" — Curt Sampson <cjs@...> 2005/01/25

On Tue, 25 Jan 2005, Mathieu Bouchard wrote:

[#128317] Re: "Duck Typing" or "No need for abstract classes" — Mathieu Bouchard <matju@...> 2005/01/26

[#128445] Re: Type Inference — "Robert Klemme" <bob.news@...> 2005/01/27

[#128589] Re: Type Inference — Curt Sampson <cjs@...> 2005/01/27

On Thu, 27 Jan 2005, Robert Klemme wrote:

[#127978] Re: RubyConf '05 — "Harry Ohlsen" <Harry_Ohlsen@...>

> I think we've got date and time figured out,

44 messages 2005/01/24
[#128000] Re: RubyConf '05 — "David A. Black" <dblack@...> 2005/01/25

Hi --

[#128081] Re: RubyConf '05 — Chad Fowler <chadfowler@...> 2005/01/25

On Tue, 25 Jan 2005 10:33:09 +0900, David A. Black <dblack@wobblini.net> wrote:

[#128094] Re: RubyConf '05 — "Jim Weirich" <jim@...> 2005/01/25

[#128122] Re: RubyConf '05 — Austin Ziegler <halostatue@...> 2005/01/25

On Tue, 25 Jan 2005 23:44:33 +0900, Jim Weirich <jim@weirichhouse.org> wrote:

[#128130] Re: RubyConf '05 — Nicholas Van Weerdenburg <vanweerd@...> 2005/01/25

On Wed, 26 Jan 2005 01:00:33 +0900, Austin Ziegler <halostatue@gmail.com> wrote:

[#128526] Re: RubyConf '05 — "martinus" <martin.ankerl@...> 2005/01/27

Consider all Rubyists compressed in one point in space time - this

[#128647] Re: RubyConf '05 — Ralf =?ISO-8859-15?Q?M=FCller?= <r_mueller@...> 2005/01/28

On Fri, 28 Jan 2005 02:50:54 +0900

[#129706] Physics of black holes (Was: RubyConf '05) — "Josef 'Jupp' Schugt" <jupp@...> 2005/02/04

Ralf Mler wrote:

[#129746] Re: [OT] Physics of black holes (Was: RubyConf '05) — Eric Hodel <drbrain@...7.net> 2005/02/05

On 04 Feb 2005, at 15:32, Josef 'Jupp' Schugt wrote:

[#129907] Re: [OT] Physics of black holes (Was: RubyConf '05) — "Josef 'Jupp' Schugt" <jupp@...> 2005/02/06

Eric Hodel wrote:

[#129909] Re: [OT] Physics of black holes (Was: RubyConf '05) — Tim Bates <tim@...> 2005/02/06

Josef 'Jupp' Schugt wrote:

[#128021] top-level object? top-level methods? — "itsme213" <itsme213@...>

Is there a top-level object in any executing Ruby program? Is it the thing

17 messages 2005/01/25
[#128047] Re: top-level object? top-level methods? — Yukihiro Matsumoto <matz@...> 2005/01/25

Hi,

[#128063] Re: top-level object? top-level methods? — Matt Mower <matt.mower@...> 2005/01/25

On Tue, 25 Jan 2005 17:26:29 +0900, Yukihiro Matsumoto

[#128066] Re: top-level object? top-level methods? — ts <decoux@...> 2005/01/25

>>>>> "M" == Matt Mower <matt.mower@gmail.com> writes:

[#128067] Re: top-level object? top-level methods? — Matt Mower <matt.mower@...> 2005/01/25

On Tue, 25 Jan 2005 19:53:18 +0900, ts <decoux@moulon.inra.fr> wrote:

[#128079] Injecting methods from one class into another. — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

28 messages 2005/01/25
[#128082] Re: Injecting methods from one class into another. — ts <decoux@...> 2005/01/25

>>>>> "G" == George Moschovitis <george.moschovitis@gmail.com> writes:

[#128088] Re: Injecting methods from one class into another. — "George Moschovitis" <george.moschovitis@...> 2005/01/25

> What do you expect with this ?

[#128164] A Rubyist's Dream — Benjamin Stiglitz <ben@...>

Hi, everyone. I had a dream last night that drove me to join the list

17 messages 2005/01/25

[#128314] Array::uniq { block } ? — Belorion <belorion@...>

I have an array of arrays. I want to be able to do a uniq operation

26 messages 2005/01/26

[#128318] WWW::Mechanize 0.1.0 available as Gem — Michael Neumann <mneumann@...>

The title says it all:

11 messages 2005/01/26

[#128325] When little languages grow... — Hugh Sasse Staff Elec Eng <hgs@...>

I seem to have run into my parsing problem again. Whatever I'm

53 messages 2005/01/26
[#128341] Re: When little languages grow... (long) — Mark Probert <probertm@...> 2005/01/26

Hi ..

[#128394] Error with bdb installation — Oliver Cromm <lispamateur@...>

I'm trying to use WordNet, database version, with ruby library. [1]

13 messages 2005/01/26

[#128418] Wee 0.5.0 — Michael Neumann <mneumann@...>

Hi,

19 messages 2005/01/27

[#128485] Duping a class causes error — "Trans" <transfire@...>

Maybe someone can offer me a possible reason for this. I have a set of

22 messages 2005/01/27

[#128529] Ten Things Every Java Programmer Should Know About Ruby — "Jim Weirich" <jim@...>

We will be introducing Ruby to our XP Users group in Cincinnati next week.

104 messages 2005/01/27
[#128536] Re: Ten Things Every Java Programmer Should Know About Ruby — Joao Pedrosa <joaopedrosa@...> 2005/01/27

Hi,

[#128560] Re: Ten Things Every Java Programmer Should Know About Ruby — "James G. Britt " <ruby.talk.list@...> 2005/01/27

On Fri, 28 Jan 2005 03:35:11 +0900, Joao Pedrosa <joaopedrosa@gmail.com> wrote:

[#128562] Re: Ten Things Every Java Programmer Should Know About Ruby — Zach Dennis <zdennis@...> 2005/01/27

Some of the things I like in ruby thinking directly about java... being

[#128618] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/28

Zach Dennis <zdennis@mktec.com> wrote:

[#128625] Re: Ten Things Every Java Programmer Should Know About Ruby — Zach Dennis <zdennis@...> 2005/01/28

Navindra Umanee wrote:

[#128662] Re: Ten Things Every Java Programmer Should Know About Ruby — Peter Hickman <peter@...> 2005/01/28

Jim Weirich wrote:

[#128664] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/28

[#128670] Re: Ten Things Every Java Programmer Should Know About Ruby — Joao Pedrosa <joaopedrosa@...> 2005/01/28

Hi,

[#128671] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/28

[#128684] Re: Ten Things Every Java Programmer Should Know About Ruby — James Britt <jamesUNDERBARb@...> 2005/01/28

PA wrote:

[#128695] Re: Ten Things Every Java Programmer Should Know About Ruby — Hugh Sasse Staff Elec Eng <hgs@...> 2005/01/28

On Fri, 28 Jan 2005, James Britt wrote:

[#128709] Re: Ten Things Every Java Programmer Should Know About Ruby — "James G. Britt " <ruby.talk.list@...> 2005/01/28

On Fri, 28 Jan 2005 23:38:14 +0900, Hugh Sasse Staff Elec Eng

[#128804] Re: Ten Things Every Java Programmer Should Know About Ruby — "Keith P. Boruff" <kboruff@...> 2005/01/29

Lothar Scholz wrote:

[#128808] Re: Ten Things Every Java Programmer Should Know About Ruby — "Keith P. Boruff" <kboruff@...> 2005/01/29

Curt Hibbs wrote:

[#128541] Re: Ten Things Every Java Programmer Should Know About Ruby — Edgardo Hames <ehames@...> 2005/01/27

On Fri, 28 Jan 2005 02:55:46 +0900, Jim Weirich <jim@weirichhouse.org> wrote:

[#128550] Re: Ten Things Every Java Programmer Should Know About Ruby — "Jim Weirich" <jim@...> 2005/01/27

[#128573] Re: Ten Things Every Java Programmer Should Know About Ruby — E S <eero.saynatkari@...>

> L臧ett臻篋 "Jim Weirich" <jim@weirichhouse.org>

48 messages 2005/01/27
[#128863] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

E S <eero.saynatkari@kolumbus.fi> wrote:

[#128877] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128882] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

PA <petite.abeille@gmail.com> wrote:

[#128884] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128888] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

PA <petite.abeille@gmail.com> wrote:

[#128889] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128892] Re: Ten Things Every Java Programmer Should Know About Ruby — Florian Frank <flori@...> 2005/01/29

PA wrote:

[#128931] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

Florian Frank <flori@nixe.ping.de> wrote:

[#128952] Re: Ten Things Every Java Programmer Should Know About Ruby — Florian Frank <flori@...> 2005/01/30

Navindra Umanee wrote:

[#128973] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/30

Florian Frank <flori@nixe.ping.de> wrote:

[#128668] : How can I find the filename where a class is defined? — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

11 messages 2005/01/28

[#128708] Why csv file processing is so slow? — "mepython" <a@...>

I want to process csv file. Here is small program in python and ruby:

26 messages 2005/01/28

[#128773] FYI: what's OOP's jargons and complexities? — PA <petite.abeille@...>

http://article.gmane.org/gmane.comp.python.general/384636

41 messages 2005/01/28
[#128792] Re: FYI: what's OOP's jargons and complexities? — "Trans" <transfire@...> 2005/01/29

Nice. I look forward to the next installment.

[#128801] Re: FYI: what's OOP's jargons and complexities? — Charles Miller <cmiller@...> 2005/01/29

On 29/01/2005, at 10:30 AM, PA wrote:

[#128832] Re: FYI: what's OOP's jargons and complexities? — James Britt <jamesUNDERBARb@...> 2005/01/29

Charles Miller wrote:

[#128833] Re: FYI: what's OOP's jargons and complexities? — PA <petite.abeille@...> 2005/01/29

[#128890] Logtails 0.4 : the time saving release — Bauduin Raphael <rb@...>

Hi,

15 messages 2005/01/29

[#128967] nil question — Brian Blazer <brian@...>

I am a bit new to this, so please be gentle. I was wondering about the

18 messages 2005/01/30
[#128970] Re: nil question — Sam Roberts <sroberts@...> 2005/01/30

Quoteing brian@brianandkate.com, on Sun, Jan 30, 2005 at 12:57:20PM +0900:

[#129086] 'example.com' == 'example.com.' => false... is this intended? — Sam Roberts <sroberts@...>

16 messages 2005/01/31

[#129144] interacting with ruby program — Navindra Umanee <navindra@...>

Hi,

22 messages 2005/01/31
[#129168] Re: interacting with ruby program — Florian Gross <flgr@...> 2005/01/31

Navindra Umanee wrote:

Re: Inheritance of class variables

From: (Curne) Simon Conrad-Armes <curne@...>
Date: 2005-01-11 12:42:03 UTC
List: ruby-talk #126013
Hi all,

Personally I never use class variables, since I consider them  
inherently broken. Although I have no constructive opinion of how they  
_should_ function, I know after trying several times, that they simply  
do not work the way I want to use them. Instead I sometimes use class  
_instance_ variables, that is instance variables on the class object.  
The idea is exactly the same as Guy's, but with lazy initialization, so  
I get to skip some of the instance_evals. Thus my version of the code  
would look like...

------------------------------------------------------------------------
class CarBuilder
     def initialize(name)
         @name = name
     end

     def self.total_of_cars
         @total_of_cars or 0
     end

     def self.increase_total
       @total_of_cars = (@total_of_cars or 0) + 1
     end

    def build
       puts "#{@name} building another car ..."
       self.class.increase_total
    end

    def total_of_cars
       "#{@name} built #{self.class.total_of_cars} cars"
    end
end

class Honda < CarBuilder
    def initialize
       super("Honda")
    end
end

class Ford < CarBuilder
    def initialize
       super("Ford")
    end
end

h = Honda.new
f = Ford.new

puts h.total_of_cars
puts f.total_of_cars

h.build
h.build
h.build
f.build

puts h.total_of_cars
puts f.total_of_cars
------------------------------------------------------------------------


The output then shows 3 Hondas and 1 Ford. Of course, this is a simple  
special case of a factory object, the class object being the factory.  
Thus I would probably write the code slightly different, putting the  
#total_of_cars method on the class and making #build a synonym of #new,  
which would seem to me the saner approach.

Just my two euro-cents.
/Curne
--
Mailing lists confuse me. Often I don't recognize my own posts and set  
about writing a flaming reply where I violently disagree.  
[curne@curnomatic.dk]


On 2004 Dec, 30, at 14:17, Eustaquio Rangel de Oliveira Jr. wrote:

> Hello there.
>
> I was talking with chris2 and matju on the irc channel and they gave  
> me good explanation about this point, but I'd like to share it with  
> you and discuss something about it.
>
> I was asking about if, when defined on a parent class, a class  
> variable overwrites the class variables with the same name on it's  
> children.
>
> For example:
>
> ----------------------------------------------------------------------- 
> -
> class CarBuilder
>    @@total_of_cars=0
>    def initialize(name)
>       @name = name
>    end	
>    def build
>       puts "#{@name} building another car ..."
>       @@total_of_cars +=1
>    end
>    def total_of_cars
>       "#{@name} built #{@@total_of_cars} cars"
>    end
> end
>
> class Honda < CarBuilder
>    @@total_of_cars=0
>    def initialize
>       super("Honda")
>    end
> end
>
> class Ford < CarBuilder
>    @@total_of_cars=0
>    def initialize
>       super("Ford")
>    end
> end
>
> h = Honda::new
> f = Ford::new
>
> puts h.total_of_cars
> puts f.total_of_cars
>
> h.build
> h.build
> h.build
> f.build
>
> puts h.total_of_cars
> puts f.total_of_cars
> ----------------------------------------------------------------------- 
> -
>
> Running this code we have:
>
> ----------------------------------------------------------------------- 
> -
> Honda built 0 cars
> Ford built 0 cars
> Honda building another car ...
> Honda building another car ...
> Honda building another car ...
> Ford building another car ...
> Honda built 4 cars
> Ford built 4 cars
> ----------------------------------------------------------------------- 
> -
>
> So, there is a mistake here. Honda built 3 cars and Ford 1, and not 4  
> for Honda and 4 for Ford. They are sharing the parent class variable,  
> not matter if it was defined on the children also.
>
> Matsu told me that who came first is the boss, so if @@total_of_cars  
> was defined on the parent, not matter what, all the other children  
> will refer to it. I can live with that making some hacks ehehe but let  
> me see:
>
> ----------------------------------------------------------------------- 
> -
> class CarBuilder
>    def initialize(name)
>       @name = name
>    end	
>    def build
>       puts "#{@name} building another car ..."
>       increase
>    end
>    def increase
>    end
> end
>
> class Honda < CarBuilder
>    @@total_of_cars=0
>    def initialize
>       super("Honda")
>    end
>    def increase
>       @@total_of_cars +=1
>    end
>    def total_of_cars
>       "#{@name} built #{@@total_of_cars} cars"
>    end
> end
>
> class Ford < CarBuilder
>    @@total_of_cars=0
>    def initialize
>       super("Ford")
>    end
>    def increase
>       @@total_of_cars +=1
>    end
>    def total_of_cars
>       "#{@name} built #{@@total_of_cars} cars"
>    end
> end
>
> h = Honda::new
> f = Ford::new
>
> puts h.total_of_cars
> puts f.total_of_cars
>
> h.build
> h.build
> h.build
> f.build
>
> puts h.total_of_cars
> puts f.total_of_cars
> ----------------------------------------------------------------------- 
> -
>
> Running it I got:
>
> ----------------------------------------------------------------------- 
> -
> Honda built 0 cars
> Ford built 0 cars
> Honda building another car ...
> Honda building another car ...
> Honda building another car ...
> Ford building another car ...
> Honda built 3 cars
> Ford built 1 cars
> ----------------------------------------------------------------------- 
> -
>
> That is the correct behaviour.
> But let check what I changed there on the code:
>
> - I removed @@total_of_cars from CarBuilder, and put it on *each*  
> child class (there was one row of code, now there is two - or more, if  
> more children), and could be a problem if I miss the point on some  
> child class and forget to declare that variable there).
>
> - On the CarBuilder, I create an empty method there called "increase"  
> just to call it on the "build" method (that I want the children  
> inherit it's funcionality). Two more rows there.
>
> - I also removed the total_of_cars method from CarBuilder, but needed  
> to write it on each children. 3 rows less on the parent, but 3 more on  
> each child.
>
> - Also on the children I needed to write the increase method, 3 more  
> rows on each child.
>
> Sorry if I'm missing some point here, because I'm a Ruby newbie, but  
> is that correct? I mean, seems that we need to write more code with  
> this kind of behaviour.
>
> And if we forget to implement some of the needed methods or the  
> @@total_of_cars on each CarBuilder child (CarBuilder could have a lot  
> of other methods that I could want to inherit also!), it could not  
> work normally.
>
> On another point, if all this methods and variables could be inherited  
> from the parent class, will be no problem.
>
> I don't really know if there is a strong and well-defined OOP concept  
> on the fact that a child cannot overwrite it's parent class variables,  
> but could you
>
> - Tell me if there is some kind of OOP concept like that and
> - Tell me if the way I made the code, even with more lines, is the  
> correct and more efficient way to control how many cars each  
> CarBuilder child made?
>
> Thanks for your attention. :-)
>
> ----------------------------
> Eust痃uio "TaQ" Rangel
> eustaquiorangel@yahoo.com
> http://beam.to/taq
> Usu疵io GNU/Linux no. 224050
>
>
>



In This Thread

Prev Next