add .gitattributes for Ruby method detection