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


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

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?