End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Psych::Coder#represent_scalar
represent_scalar(tag, value)
ext/psych/lib/psych/coder.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/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 · 4.0 · 3.4 · 3.3 · 3.2 · 3.0