diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 16:26:11 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-09-27 16:26:11 -0700 |
commit | 1e1b03f061be4333e2d2a8a4b2b176bcab20a023 (patch) | |
tree | 058504f8c6847eb90acec13c65015f5c4df88526 /test | |
parent | 46ffb85fe466efd9dbcac74612efeb4fbd89d96d (diff) | |
download | psych-1e1b03f061be4333e2d2a8a4b2b176bcab20a023.zip |
moving handler
Diffstat (limited to 'test')
-rw-r--r-- | test/psych/test_parser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |