Ruby tk - Tk::GetOpenFile - How to set the dialog view

Hello

I am using Tk::GetOpenFile (on a WinXP machine) and I am trying to
figure out how to make the dialogbox view set on “Details” and sort by
“Name”.

There are some references to use -typevariable but no details.

The reference also mentions that the dialogbox view should be saved for
the next time i open it (but I does not, it always open as “List” and
sort by “Date”

Any ideas?