------art_1608_337497724.1257361099439
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable


Hello,

I want to parse a ruby config of a window manager which utilizes hashes. Ishere a way to get a fancier ouput than this?

Template:
-------------

#
# == Options
#
# Following options change behaviour and sizes of the window manager:
#
OPTIONS = {
  # Border size in pixel of the windows
  :border  => 2,                                   

  # Window move/resize steps in pixel per keypress
  :step    => 5,

  # Window screen border snapping
  :snap    => 10,

  # Default starting gravity for windows
  :gravity => :center,

  # Make transient windows urgent
  :urgent  => true,

  # Enable respecting of size hints globally
  :resize  => false,

  # Screen size padding (left, right, top, bottom)
  :padding => [ 0, 0, 0, 0 ],

  # Font string (see xfontsel)
  :font    => "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
}

Output:
-----------
OPTIONS  	=  	{ # Border size in pixel of the windows :border => 2,indow move/resize steps in pixel per keypress :step => 5, # Window screen border snapping :snap => 10, # Default starting gravity for windows :gravity => :center, # Make transient windows urgent :urgent => true, #nable respecting of size hints globally :resize => false, # Screen sizeadding (left, right, top, bottom) :padding => [ 0, 0, 0, 0 ], # Font string (see xfontsel) :font => "-*-fixed-*-*-*-*-10-*-*-*-*-*-*-*" }
------art_1608_337497724.1257361099439--