method

visit_DateTime

visit_DateTime(o)
public

No documentation available.

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