Added documentation to help with development

Just documented what took me several hours to figure out. Perhaps save someone else with no ruby experience some time.