summaryrefslogtreecommitdiff
path: root/lib/psych/visitors/yaml_tree.rb
diff options
context:
space:
mode:
authorSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-23 11:40:34 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2017-03-27 10:12:18 +0900
commit6b60fb203df3ec9efd2a5cb2a41f46116c164009 (patch)
treeba70bc8220c0bbff07337a4e5146db30f67e1baa /lib/psych/visitors/yaml_tree.rb
parent2cd35187087e4594f84462c0d583c2616e93e8c1 (diff)
downloadpsych-6b60fb203df3ec9efd2a5cb2a41f46116c164009.zip
Removed override method
Diffstat (limited to 'lib/psych/visitors/yaml_tree.rb')
-rw-r--r--lib/psych/visitors/yaml_tree.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/psych/visitors/yaml_tree.rb b/lib/psych/visitors/yaml_tree.rb
index 978af00..3606596 100644
--- a/lib/psych/visitors/yaml_tree.rb
+++ b/lib/psych/visitors/yaml_tree.rb
@@ -53,15 +53,6 @@ module Psych
new(emitter, ss, options)
end
- def self.new emitter = nil, ss = nil, options = nil
- return super if emitter && ss && options
-
- if $VERBOSE
- warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{self}.create() (#{caller.first})"
- end
- create emitter, ss
- end
-
def initialize emitter, ss, options
super()
@started = false