From: ts Date: 2008-05-17T20:25:27+09:00 Subject: Re: Object#select and method_missing 7stud -- wrote: > Why do both the method calls: sel() and self.sel() work in this code? > > module Kern > > def Kern.sel > puts "select" > end you define a singleton method > > end > > > class Obj > include Kern include don't make the singleton methods available to the object. > def meth1 > puts "meth1" > self.sel it just don't exist > end > > def meth2 > puts "meth2" > sel same here Guy Decoux