hi -

  try this:


irb(main):001:0> def hello; end

irb(main):002:0> self.public_methods.include?("hello")
=> true

 cheers,

  -j

-- 
Posted via http://www.ruby-forum.com/.