Answer:
The ruler will have a static charge.
Suppose the ruler is charged positively.
When brought near a small piece of paper, the piece of paper nearest will acquire a negative charge and the opposite end of the paper will have a positive charge (a separation of charges occurs within the paper).
This would cause an attraction between the ruler and the paper.