Method: Psych::JSON::YAMLEvents#scalar

Defined in:
lib/psych/json/yaml_events.rb

#scalar(value, anchor, tag, plain, quoted, style) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/psych/json/yaml_events.rb', line 21

def scalar value, anchor, tag, plain, quoted, style
  if "tag:yaml.org,2002:null" == tag
    super('null', nil, nil, true, false, Nodes::Scalar::PLAIN)
  else
    super
  end
end