This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--51D3031.38593CFD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I have code like this:

#!/opt/ruby/bin/ruby

# ruby 1.4.3 (1999-12-08) [hppa1.1-hpux10.20]
# HP-UX whatever! B.10.20 A 9000/861 --- two-user license

class Foo
   def Foo.one
      [ "one", "two", "three" ]
   end

   private Foo.one

   def Foo.two
      Foo.one.each { |el|
         print "howdy, ", el, "!\n"
         }
   end
end

It returns:

./test:11:in `private': failed to convert Array into Integer (TypeError)
        from ./test:11

If I change the "private" line to be:

private :Foo.one

I get

./test:11: undefined method `one' for 8405:Fixnum (NameError)

If I change it to be one of the following:

private :(Foo.one)

private Foo.:one

I get parse errors.

--51D3031.38593CFD
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR></HEAD>
<BODY style="FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px">
<DIV><FONT size=1>I have code like this:</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>#!/opt/ruby/bin/ruby</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1># ruby 1.4.3 (1999-12-08) [hppa1.1-hpux10.20]<BR># HP-UX 
whatever! B.10.20 A 9000/861 --- two-user license</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>class Foo<BR>&nbsp;&nbsp; def 
Foo.one<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ "one", "two", "three" 
]<BR>&nbsp;&nbsp; end</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>&nbsp;&nbsp; private Foo.one</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>&nbsp;&nbsp; def Foo.two<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Foo.one.each { |el|<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print 
"howdy, ", el, "!\n"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp; end<BR>end</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>It returns:</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>./test:11:in `private': failed to convert Array into Integer 
(TypeError)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from 
./test:11</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>If I change the "private" line to be:</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>private :Foo.one</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>I get</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>./test:11: undefined method `one' for 8405:Fixnum 
(NameError)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>If I change it to be one of the following:</FONT></DIV>DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>private :(Foo.one)</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>private Foo.:one</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>I get parse errors.</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>&nbsp;</DIV></FONT></BODY></HTML>

--51D3031.38593CFD--