diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-03-07 20:16:37 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-03-27 10:10:44 +0900 |
commit | 5703ff2ae6e2aded251b95e9a6c19a8307b1165a (patch) | |
tree | d9c1b509e635efdb90a46e4341cca28258362ce0 /lib | |
parent | 7cd133d7a0068d084371a0e3a60852a66285d38a (diff) | |
download | psych-5703ff2ae6e2aded251b95e9a6c19a8307b1165a.zip |
Removed Psyych.detect_implicit.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/psych/deprecated.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/psych/deprecated.rb b/lib/psych/deprecated.rb index 0c52566..66ae86d 100644 --- a/lib/psych/deprecated.rb +++ b/lib/psych/deprecated.rb @@ -9,14 +9,6 @@ module Psych attr_accessor :to_yaml_style end - def self.detect_implicit thing - warn "#{caller[0]}: detect_implicit is deprecated" if $VERBOSE - return '' unless String === thing - return 'null' if '' == thing - ss = ScalarScanner.new(ClassLoader.new) - ss.tokenize(thing).class.name.downcase - end - def self.add_ruby_type type_tag, &block warn "#{caller[0]}: add_ruby_type is deprecated, use add_domain_type" if $VERBOSE domain = 'ruby.yaml.org,2002' |