diff options
Diffstat (limited to 'lib/psych/deprecated.rb')
-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' |