class SelectTest
  def method_missing(method, *params, &block)
    return "Expected Result" if method == :select
    super
  end

  def test_one
    self.select()
  end

  def test_two
    select()
  end
end
puts SelectTest.new.test_one
puts SelectTest.new.test_two


Anyone care to explain why test_one calls method_missing and test_two
calls the private method Object#select?

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