[#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:00129] Re: very very NEWbie

From: matz@... (Yukihiro Matsumoto)
Date: 1998-12-20 15:41:43 UTC
List: ruby-talk #129
Hi.

In message "[ruby-talk:00128] RE: very very NEWbie"
    on 98/12/20, OZAWA Sakuro <crouton@duelists.org> writes:

|> 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

Example:

class ABC
    def initialize( _v )
        @v = _v
    end
    attr_accesser :v
end

a = ABC ( 50 )
print a.v
a.v = 25
print a.v

In This Thread