From: "Hal E. Fulton" Date: 2001-11-17T04:27:24+09:00 Subject: [ruby-talk:25615] Re: Class# syntax ----- Original Message ----- From: Matthew Shaver Newsgroups: comp.lang.ruby To: ruby-talk ML ; Sent: Friday, November 16, 2001 10:20 AM Subject: [ruby-talk:25497] Class# syntax > Could someone explain the Class#method syntax? Is it just the same as > Class.method for class method? They seem to be used interchangably in > Programming Ruby. Matt, This is a human idiom, not machine-readable. The # is used when referring to an instance method as opposed to . for a class method. Note that in Ruby, class methods and instance methods can have the same names, i.e., Class.foobar and Class#foobar are certainly different methods. (Even the standard classes do this, so I don't think it's considered bad.) Hal