I will continue the rest of the testing..
Thanks

----- Original Message ----
From: Jim Deville <[EMAIL PROTECTED]>
To: "[email protected]" <[email protected]>
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:[EMAIL PROTECTED]:[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
 





_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to