{"comment":{"url":"https://api.github.com/repos/KravchenkoDS/Thinknetica/comments/31622437","html_url":"https://github.com/KravchenkoDS/Thinknetica/commit/cd02bea21528b2442444945db1cb46cbea353668#commitcomment-31622437","id":31622437,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMTYyMjQzNw==","user":{"login":"kdrozdov","id":2826696,"node_id":"MDQ6VXNlcjI4MjY2OTY=","avatar_url":"https://avatars1.githubusercontent.com/u/2826696?v=4","gravatar_id":"","url":"https://api.github.com/users/kdrozdov","html_url":"https://github.com/kdrozdov","followers_url":"https://api.github.com/users/kdrozdov/followers","following_url":"https://api.github.com/users/kdrozdov/following{/other_user}","gists_url":"https://api.github.com/users/kdrozdov/gists{/gist_id}","starred_url":"https://api.github.com/users/kdrozdov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdrozdov/subscriptions","organizations_url":"https://api.github.com/users/kdrozdov/orgs","repos_url":"https://api.github.com/users/kdrozdov/repos","events_url":"https://api.github.com/users/kdrozdov/events{/privacy}","received_events_url":"https://api.github.com/users/kdrozdov/received_events","type":"User","site_admin":false},"position":3,"line":3,"path":"Lesson2/vowels_hash.rb","commit_id":"cd02bea21528b2442444945db1cb46cbea353668","created_at":"2018-12-10T16:24:13Z","updated_at":"2018-12-10T16:24:13Z","author_association":"NONE","body":"Можно использовать `each_with_index`, тогда в блок вторым аргументом будет передаваться индекс:\r\n```\r\n('a'..'z').each_with_index do |letter, index|\r\n  vowels_hash[letter] = index + 1 if VOWELS.include?(letter)\r\nend\r\n```"}}
{"actor":{"display_login":"kdrozdov"}}