{"comment":{"url":"https://api.github.com/repos/disimik/Tasks/comments/19844228","html_url":"https://github.com/disimik/Tasks/commit/72692bc017258e186d8cf1ef6c1627361b137a6f#commitcomment-19844228","id":19844228,"user":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"position":21,"line":21,"path":"02_01.rb","commit_id":"72692bc017258e186d8cf1ef6c1627361b137a6f","created_at":"2016-11-16T12:21:15Z","updated_at":"2016-11-16T12:21:15Z","body":"Можно так: `print \"#{m} \"`.\r\n\r\nЛибо использовать итератор `inject`:\r\n\r\n```ruby\r\nresult = months.inject([]) do |titles, (month, days)|\r\n  titles.push(month) if days == 30\r\n  titles\r\nend\r\n\r\np result.join(' ')\r\n```"}}
{"actor":{"display_login":"psylone"}}