p is an alternative to using inspect.
p "this is a test".split(/\s+/)
p is useful alternative to using puts when playing with expressions.
It shows you the structure of the object(s) returned by the expression following it.