Grub2 misc ruby

well, it is old code. My goal is refactoring, but change it to use .proc.modules sounds reasonable.