Add understand.rb

Closes #8069.