From: Gabriel Pugliese Date: 2007-12-12T07:21:58+09:00 Subject: meta: who is the reciever? Hi guys, first sorry my poor english. I'm a spanish speaker from argentina seing a video-conf from Dave Thomas on metaprogramming I rose these questions: who is the reciever? where are stored the method definitions? ************************************************* class Dave class << self def hi puts 123 end def self.hi puts 456 end end def self.call_hi_low hi end def self.call_hi_up class << self hi end end end Dave.call_hi_low #=>123 Dave.call_hi_up #=>456 -- Posted via http://www.ruby-forum.com/.