class JSON::Ext::Generator::State

def [](name)

Returns the value returned by method +name+.

call-seq: [](name)
def [](name)
  if respond_to?(name)
    __send__(name)
  else
    instance_variable_get("@#{name}") if
      instance_variables.include?("@#{name}".to_sym) # avoid warning
  end
end