I will continue the rest of the testing..
Thanks
----- Original Message ----
From: Jim Deville <jdeville at microsoft.com>
To: "ironruby-core at rubyforge.org" <ironruby-core at
rubyforge.org>
Sent: Thursday, May 1, 2008 10:22:53 AM
Subject: Re: [Ironruby-core] class question.
<!--
_filtered {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New
Roman", "serif";}
a:link, span.MsoHyperlink
{color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
span.EmailStyle17
{font-family:"Calibri", "sans-serif";color:#1F497D;}
.MsoChpDefault
{font-size:10.0pt;}
_filtered {margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{}
-->
Private appears to be broken. Can you submit this as a bug
please?
JD
From:ironruby-core-bounces at rubyforge.org[mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of UnnikrishnanNair
Sent: Wednesday, April 30, 2008 1:52 PM
To: ironruby-core at rubyforge.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20080501/a27edd83/attachment.html>