{"action":"created","issue":{"url":"https://api.github.com/repos/macha3162/homework/issues/5","labels_url":"https://api.github.com/repos/macha3162/homework/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/macha3162/homework/issues/5/comments","events_url":"https://api.github.com/repos/macha3162/homework/issues/5/events","html_url":"https://github.com/macha3162/homework/issues/5","id":59724244,"number":5,"title":"ループ処理","user":{"login":"macha3162","id":359262,"avatar_url":"https://avatars.githubusercontent.com/u/359262?v=3","gravatar_id":"","url":"https://api.github.com/users/macha3162","html_url":"https://github.com/macha3162","followers_url":"https://api.github.com/users/macha3162/followers","following_url":"https://api.github.com/users/macha3162/following{/other_user}","gists_url":"https://api.github.com/users/macha3162/gists{/gist_id}","starred_url":"https://api.github.com/users/macha3162/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macha3162/subscriptions","organizations_url":"https://api.github.com/users/macha3162/orgs","repos_url":"https://api.github.com/users/macha3162/repos","events_url":"https://api.github.com/users/macha3162/events{/privacy}","received_events_url":"https://api.github.com/users/macha3162/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"yoshio8927","id":9457326,"avatar_url":"https://avatars.githubusercontent.com/u/9457326?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshio8927","html_url":"https://github.com/yoshio8927","followers_url":"https://api.github.com/users/yoshio8927/followers","following_url":"https://api.github.com/users/yoshio8927/following{/other_user}","gists_url":"https://api.github.com/users/yoshio8927/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshio8927/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshio8927/subscriptions","organizations_url":"https://api.github.com/users/yoshio8927/orgs","repos_url":"https://api.github.com/users/yoshio8927/repos","events_url":"https://api.github.com/users/yoshio8927/events{/privacy}","received_events_url":"https://api.github.com/users/yoshio8927/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-03-03T23:22:27Z","updated_at":"2015-03-05T07:49:47Z","closed_at":null,"body":"今、任意の個数のメールアドレスがあり、ドメイン別にメールアドレスが何個あるかを調べたい。\r\nメールアドレスの配列 ary を引数として取り、ハッシュオブジェクトを返すメソッド foo を作りなさい。\r\nただし、そのハッシュオブジェクトは以下の条件を満たすこと。\r\n\r\n各キーはメールアドレスのドメイン部分(@より後ろの部分)である。\r\n各値は、そのドメイン部分がキーと合致するメールアドレスの個数である。\r\n例えば、次のようなメールアドレスの集合を考える。\r\n\r\n```john@sample.com\r\ntaro@sample.jp\r\nnancy@sample.com\r\njiro@sample.jp\r\nhermes@synm.jp\r\nsaburo@sample.jp\r\n```\r\n\r\n```\r\n'sample.com' => 2,\r\n'sample.jp' => 3,\r\n'synm.jp' => 1\r\n```\r\n\r\nなお、ary に含まれるメールアドレスは、途中にアットマーク(@)を1個だけ含む文字列で、ドメイン部分は英小文字、数字、ドット(.)により構成されているものとする。また、ary に重複したメールアドレスは含まれていないものとする。\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/macha3162/homework/issues/comments/77320799","html_url":"https://github.com/macha3162/homework/issues/5#issuecomment-77320799","issue_url":"https://api.github.com/repos/macha3162/homework/issues/5","id":77320799,"user":{"login":"macha3162","id":359262,"avatar_url":"https://avatars.githubusercontent.com/u/359262?v=3","gravatar_id":"","url":"https://api.github.com/users/macha3162","html_url":"https://github.com/macha3162","followers_url":"https://api.github.com/users/macha3162/followers","following_url":"https://api.github.com/users/macha3162/following{/other_user}","gists_url":"https://api.github.com/users/macha3162/gists{/gist_id}","starred_url":"https://api.github.com/users/macha3162/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/macha3162/subscriptions","organizations_url":"https://api.github.com/users/macha3162/orgs","repos_url":"https://api.github.com/users/macha3162/repos","events_url":"https://api.github.com/users/macha3162/events{/privacy}","received_events_url":"https://api.github.com/users/macha3162/received_events","type":"User","site_admin":false},"created_at":"2015-03-05T07:49:47Z","updated_at":"2015-03-05T07:49:47Z","body":"はい。　実行結果です。\r\n忠実に真似なくてもOKです。\r\n\r\n例えば、CSV形式にするとかでもOK"}}