John Ky wrote:

try this one:

def define_my_method(method_name,&blk)
  define_method method_name, &blk
end


class X
  define_my_method :method1 do
    puts "Method 1"
  end
  define_my_method :method2 do
    puts "Method 2"
    method1
  end
end

X.new.method2


lopex