Suppose I have a scope

  plate do
    serve do |d|
      d.pizza 2
      d.momo 5
    end

    eat do |d|
      d.pizza 1
      d.momo 2
    end
  end

Is there a way to find that exactly two methods, namely serve and eat
have been defined under plate's scope.

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