From: ts Date: 2006-05-26T22:52:19+09:00 Subject: Re: Binding Blocks? (in Tk, for example) >>>>> "M" == Mat Schaffer writes: M> Can you give a code example or documentation page? moulon% cat b.rb #!/usr/bin/ruby class TkLabel def text(*args) puts "text #{args}" end def pack(*args) puts "pack #{args}" end end TkLabel.new.instance_eval { text(1, 2) pack(3, 4) } moulon% moulon% ./b.rb text 12 pack 34 moulon% Guy Decoux