Re: class question

I will continue the rest of the testing…
Thanks

----- Original Message ----
From: Jim D. [email protected]
To: “[email protected][email protected]
Sent: Thursday, May 1, 2008 10:22:53 AM
Subject: Re: [Ironruby-core] class question.

Private appears to be broken. Can you submit this as a bug
please?

JD

From:[email protected][mailto:[email protected]]
On Behalf Of UnnikrishnanNair
Sent: Wednesday, April 30, 2008 1:52 PM
To: [email protected]
Subject: [Ironruby-core] class question.

Please bear with me if it isalready discussed; I am running the
following code
class Tester
def sayHello
hi
puts “I am saying hello”
end

private
def hi
   puts "Did I say hi?"
end

private :hi    #doube checking private

end

p = Tester.new
p.hi
p.sayHello

As per ruby, it should fail but Ironruby runs through without any error.
I amgoing through the code to see where it is performed.

Thanks.
Unni