summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb')
-rw-r--r--ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb b/ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb
deleted file mode 100644
index 0350dd1faa..0000000000
--- a/ruby_1_9_3/ext/psych/lib/psych/visitors/json_tree.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-require 'psych/json/ruby_events'
-
-module Psych
- module Visitors
- class JSONTree < YAMLTree
- include Psych::JSON::RubyEvents
-
- def initialize options = {}, emitter = Psych::JSON::TreeBuilder.new
- super
- end
-
- def accept target
- if target.respond_to?(:encode_with)
- dump_coder target
- else
- send(@dispatch_cache[target.class], target)
- end
- end
- end
- end
-end