From: Caleb Clausen Date: 2010-06-03T08:14:21+09:00 Subject: Re: having a class method called only one time ? On 6/2/10, Une Bévue wrote: > Caleb Clausen wrote: >> Module#module_function is probably the best/shortest way to share the >> have the same method be both a class and instance method. > > my class extend File class i didn't mention it : > > class HFSFile < File > > then i'd have to use mixin for your solution ? I was really responding to Josh, regarding having a method be both an instance and class method. It was not directly applicable to your question.