Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# -*- encoding: utf-8 -*-
# -
require 'psych'
ary = ["Jakub Kuźma", "Timo Rößner"]
p ary.first.encoding
builder ={})
builder << ary
ast = builder.tree
io =
str = io.string
p str
p str.encoding
str.gsub(/ !!null \n/, " \n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment