instance method
Psych::Coder#represent_scalar
represent_scalar(tag, value)
ext/psych/lib/psych/coder.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/psych/lib/psych/coder.rb, line 42
def represent_scalar tag, value
self.tag = tag
self.scalar = value
end
Emit a scalar with value and tag
See also
#represent_object
#represent_seq
#represent_map
#scalar
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0