{"action":"created","issue":{"url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/67","labels_url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/67/comments","events_url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/67/events","html_url":"https://github.com/inch-ci/inch_ci-web/issues/67","id":69507424,"number":67,"title":"Documenting multiple attributes via @!attribute directive","user":{"login":"sds","id":677877,"avatar_url":"https://avatars.githubusercontent.com/u/677877?v=3","gravatar_id":"","url":"https://api.github.com/users/sds","html_url":"https://github.com/sds","followers_url":"https://api.github.com/users/sds/followers","following_url":"https://api.github.com/users/sds/following{/other_user}","gists_url":"https://api.github.com/users/sds/gists{/gist_id}","starred_url":"https://api.github.com/users/sds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sds/subscriptions","organizations_url":"https://api.github.com/users/sds/orgs","repos_url":"https://api.github.com/users/sds/repos","events_url":"https://api.github.com/users/sds/events{/privacy}","received_events_url":"https://api.github.com/users/sds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-20T05:00:15Z","updated_at":"2015-04-21T07:17:14Z","closed_at":null,"body":"Which syntax for documenting attributes does InchCI support? For situations where I declare a number of attributes using a single `attr_reader` call, e.g.\r\n\r\n```ruby\r\nattr_reader :attr_one, :attr_two\r\n```\r\n\r\nIdeally, I should be able to document these as:\r\n\r\n```ruby\r\n# @!attribute attr_one\r\n#   @return [String] description of attr_one\r\n# @!attribute attr_two\r\n#   @return [Integer] description of attr_two\r\nattr_reader :attr_one, :attr_two\r\n```\r\n\r\nHowever, this doesn't appear to work. Am I misunderstanding how the `@!attribute` YARD directive is meant to be used?\r\n\r\n---\r\nRe: [U] [SlimLint::Document#source_lines](http://inch-ci.org/github/sds/slim-lint/branch/master/revision/864c26ac/code_object/984604) in [sds/slim-lint](http://inch-ci.org/github/sds/slim-lint)"},"comment":{"url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/comments/94663229","html_url":"https://github.com/inch-ci/inch_ci-web/issues/67#issuecomment-94663229","issue_url":"https://api.github.com/repos/inch-ci/inch_ci-web/issues/67","id":94663229,"user":{"login":"rrrene","id":311914,"avatar_url":"https://avatars.githubusercontent.com/u/311914?v=3","gravatar_id":"","url":"https://api.github.com/users/rrrene","html_url":"https://github.com/rrrene","followers_url":"https://api.github.com/users/rrrene/followers","following_url":"https://api.github.com/users/rrrene/following{/other_user}","gists_url":"https://api.github.com/users/rrrene/gists{/gist_id}","starred_url":"https://api.github.com/users/rrrene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rrrene/subscriptions","organizations_url":"https://api.github.com/users/rrrene/orgs","repos_url":"https://api.github.com/users/rrrene/repos","events_url":"https://api.github.com/users/rrrene/events{/privacy}","received_events_url":"https://api.github.com/users/rrrene/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T07:17:14Z","updated_at":"2015-04-21T07:17:14Z","body":"Hi there,\r\n\r\nthis is a good question. I thought this case should be documented like so:\r\n\r\n    # @return [String] description of attr_one\r\n    attr_reader :attr_one\r\n    # @return [String] description of attr_two\r\n    attr_reader :attr_two\r\n\r\nThis *seems* to be the case since 2010: https://gist.github.com/koraktor/587533\r\n\r\nI will try to take another look after work.\r\n"}}