From 1e1b03f061be4333e2d2a8a4b2b176bcab20a023 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 27 Sep 2009 16:26:11 -0700 Subject: moving handler --- test/psych/test_parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/psych/test_parser.rb b/test/psych/test_parser.rb index 48fa9f2..3bbd280 100644 --- a/test/psych/test_parser.rb +++ b/test/psych/test_parser.rb @@ -2,13 +2,13 @@ require 'helper' module Psych class TestParser < Test::Unit::TestCase - class EventCatcher < Parser::Handler + class EventCatcher < Handler attr_reader :calls def initialize @calls = [] end - (Parser::Handler.instance_methods(true) - + (Handler.instance_methods(true) - Object.instance_methods).each do |m| class_eval %{ def #{m} *args -- cgit v1.2.3