[#138] Thread Problems — Reimer Behrends <behrends@...>

I have been looking at the thread implementation of Ruby for the past

21 messages 1998/12/23
[#164] Re: Thread Problems — matz@... (Yukihiro Matsumoto) 1999/01/05

Hi.

[#167] Makefiles and -lcurses — Klaus.Schilling@... 1999/01/05

Julian Fondren writes:

[#168] Re: Makefiles and -lcurses — Julian Fondren <julian@...> 1999/01/05

OpenBSD has ncurses and it's own ocurses, and I prefer the latter.

[ruby-talk:00128] RE: very very NEWbie

From: OZAWA Sakuro <crouton@...>
Date: 1998-12-20 05:13:26 UTC
List: ruby-talk #128
In article <004001be2bce$b9fee660$3d07fbd1@irule>,
    "Bryce" <crowdog@siscom.net> writes:

> class ABC
>     def initialize( _v )
>         @v = _v
>     end

> print a.v            # produced an ERROR
> How would I access the variable "v" ?

For readable and writable members:
	attr_accesser :v
or, for read-only members:
	attr_reader :v

-- 
OZAWA -Crouton- Sakuro
<mailto:crouton@duelists.org>
<http://www.duelists.org/%7Ecrouton/>
"The world is full of fascinating problems waiting to be solved." -esr

In This Thread