method

detect_implicit

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Psych
detect_implicit(thing) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/psych/lib/psych/deprecated.rb, line 34
  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
Register or log in to add new notes.