Identing ruby in vim

my settings in ~/.vimrc:
set autoindent number ruler tabstop=4
syntax on

--'nother newbie.

···

   Hi,

   I'm new to ruby and vim. Is it possible to ask vim to ident a piece
of ruby code? I know it does syntax highlighting, so, I suppose it may
be able to format the code.

   Thanks,
   Maurício