method

visit_DateTime

visit_DateTime(o)
public

No documentation available.

# File ext/psych/lib/psych/visitors/yaml_tree.rb, line 166
      def visit_DateTime o
        formatted = format_time o.to_time
        tag = '!ruby/object:DateTime'
        register o, @emitter.scalar(formatted, nil, tag, false, false, Nodes::Scalar::ANY)
      end