refactor boilerplate of closure construction for psh.sh into an enclose method.
refactor boilerplate of closure construction for psh.sh into an enclose method.

heavenlyhash/pogo,heavenlyhash/pogo,polydawn/gosh,polydawn/gosh