# File lib/json/pure/generator.rb, line 211 def to_h result = {} for iv in %w[indent space space_before object_nl array_nl allow_nan max_nesting] result[iv.intern] = instance_variable_get("@#{iv}") end result end