02: Use splat argument
02: Use map(&:strip) instead of each(&:strip!)
02: Move parsing logic in a new class