Yes: https://github.com/SUSE/style-guides/blob/master/Ruby.md#code-layout
See my mail about how to set up text editors accordingly: http://lists.opensuse.org/yast-devel/2013-10/msg00005.html