class JSON::Ext::Generator::State

def []=(name, value)

Sets the attribute name to value.

call-seq: []=(name, value)
def []=(name, value)
  if respond_to?(name_writer = "#{name}=")
    __send__ name_writer, value
  else
    instance_variable_set "@#{name}", value
  end
end