class SymbolHash

def []=(key, value)

Parameters:
  • value (Object) -- the value to be assigned. If this is a String and
  • key (#to_sym) -- the key
def []=(key, value)
  super(key.to_sym, value.instance_of?(String) && @symbolize_value ? value.to_sym : value)
end