Add example for Dir.pwd in Dir.getwd doc

Since `Dir.pwd` aliases `Dir.getwd`, their docs are identical. However, looking up `Dir.pwd` is a bit awkward given the example doesn't even show the `pwd` method.

This change clarifies that and shows how the usages are equivalent.