On Dec 12, 2:29 pm, Thufir <hawat.thu... / gmail.com> wrote:
> here's what I have:
>
> irb(main):040:3*
> irb(main):041:3*
> puts.each_key(Registry.open(Registry::HKEY_LOCAL_MACHINE, 'Software
> \Policies\'))
> irb(main):042:5' '
> irb(main):043:5>
> irb(main):044:5*
>
> But I seem to be having some sort of problem with closing quotes
> (syntax).

nickname = 'Gavin \'Phrogz\' Kistner'

The backslashes are escaping your last quote. Instead try:
  'Software\\Policies\\'
(use a backslash to escape the backslash)