From: Markus Jais Date: 2002-01-21T00:14:11+09:00 Subject: Re: Mixin question Markus Jais wrote: > hello > > lets say I have this module > > module Mod > def mod_meth > puts "in MyMod#meth3" > end > end > > > what is the difference between > > class Cla > class << self > include Mod > end > end > > and > > class Cla > extend Mod > end > > forget to show this line: Cla.mod_meth > the output is always > > /home/markus/ruby/own$ ./mixin.rb > in MyMod#meth3 > > best regards > markus