{"action":"created","issue":{"url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/67","labels_url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/67/comments","events_url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/67/events","html_url":"https://github.com/zenspider/enhanced-ruby-mode/issues/67","id":47047496,"number":67,"title":"Support new method visibility syntax","user":{"login":"ayqazi","id":63836,"avatar_url":"https://avatars.githubusercontent.com/u/63836?v=3","gravatar_id":"","url":"https://api.github.com/users/ayqazi","html_url":"https://github.com/ayqazi","followers_url":"https://api.github.com/users/ayqazi/followers","following_url":"https://api.github.com/users/ayqazi/following{/other_user}","gists_url":"https://api.github.com/users/ayqazi/gists{/gist_id}","starred_url":"https://api.github.com/users/ayqazi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayqazi/subscriptions","organizations_url":"https://api.github.com/users/ayqazi/orgs","repos_url":"https://api.github.com/users/ayqazi/repos","events_url":"https://api.github.com/users/ayqazi/events{/privacy}","received_events_url":"https://api.github.com/users/ayqazi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-28T16:23:45Z","updated_at":"2015-05-27T12:07:44Z","closed_at":null,"body":"Hi,\r\n\r\nRuby 2.1 now allows you to do this:\r\n\r\n    private def foo\r\n      puts \"bar\"\r\n    end\r\n\r\nenh-ruby-mode indents this as:\r\n\r\n    private def foo\r\n              puts \"bar\"\r\n            end\r\n\r\nI intend to adopt this immediately, can enh-ruby-mode be changed to indent like the former example?\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/comments/105885985","html_url":"https://github.com/zenspider/enhanced-ruby-mode/issues/67#issuecomment-105885985","issue_url":"https://api.github.com/repos/zenspider/enhanced-ruby-mode/issues/67","id":105885985,"user":{"login":"sockmonk","id":14742,"avatar_url":"https://avatars.githubusercontent.com/u/14742?v=3","gravatar_id":"","url":"https://api.github.com/users/sockmonk","html_url":"https://github.com/sockmonk","followers_url":"https://api.github.com/users/sockmonk/followers","following_url":"https://api.github.com/users/sockmonk/following{/other_user}","gists_url":"https://api.github.com/users/sockmonk/gists{/gist_id}","starred_url":"https://api.github.com/users/sockmonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sockmonk/subscriptions","organizations_url":"https://api.github.com/users/sockmonk/orgs","repos_url":"https://api.github.com/users/sockmonk/repos","events_url":"https://api.github.com/users/sockmonk/events{/privacy}","received_events_url":"https://api.github.com/users/sockmonk/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T12:07:44Z","updated_at":"2015-05-27T12:07:44Z","body":"I don't like hunting above a method in the file for `private` either, so I've always used `private :foo` or `private_class_method :foo`. Maybe that would work as a compromise? (without having to change enh-ruby)"}}