rubyValue should stop at closing brace

e.g.
%option{:value => hardware.id }
  = hardware.name