[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Is this old style Ruby?
From: centrepins () gmail ! com
Date: 2005-02-15 13:54:54
Message-ID: 1108475511.909643.70870 () l41g2000cwc ! googlegroups ! com
[Download RAW message or body]
In Why's guide, I see the line:
File::open( ...etc.
Up 'til now I've always written this as:
File.open( ...etc.
(ie. using a . rather than a ::). Am I right in thinking the :: for
accessing class methods is now old-style?
G
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic