class JSON::TruffleRuby::Generator::State

def to_h

passed to the configure method.
Returns the configuration instance variables as a hash, that can be
def to_h
  result = {}
  instance_variables.each do |iv|
    iv = iv.to_s[1..-1]
    result[iv.to_sym] = self[iv]
  end
  result
end