Inductor circuit

Consider a inductor circuit with an inductor connected to a DC battery and a switch. Initially the switch is open. At time $t=0$ the switch is closed. What will happen to the inductor just after the switch is closed?

1. compress

2. expand

3. nothing will happen