method

detect_implicit

v1_9_3_125 - Show latest stable - Class: Psych
detect_implicit(thing)
public

No documentation available.

# File ext/psych/lib/psych/deprecated.rb, line 33
  def self.detect_implicit thing
    warn "#{caller[0]}: detect_implicit is deprecated" if $VERBOSE
    return '' unless String === thing
    return 'null' if '' == thing
    ScalarScanner.new.tokenize(thing).class.name.downcase
  end