{"comment":{"url":"https://api.github.com/repos/IFilonov/Ruby_basics/comments/30624236","html_url":"https://github.com/IFilonov/Ruby_basics/commit/16825c7acd1325983f251b74aac33a9776358edc#commitcomment-30624236","id":30624236,"node_id":"MDEzOkNvbW1pdENvbW1lbnQzMDYyNDIzNg==","user":{"login":"max-underthesun","id":13752607,"node_id":"MDQ6VXNlcjEzNzUyNjA3","avatar_url":"https://avatars3.githubusercontent.com/u/13752607?v=4","gravatar_id":"","url":"https://api.github.com/users/max-underthesun","html_url":"https://github.com/max-underthesun","followers_url":"https://api.github.com/users/max-underthesun/followers","following_url":"https://api.github.com/users/max-underthesun/following{/other_user}","gists_url":"https://api.github.com/users/max-underthesun/gists{/gist_id}","starred_url":"https://api.github.com/users/max-underthesun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max-underthesun/subscriptions","organizations_url":"https://api.github.com/users/max-underthesun/orgs","repos_url":"https://api.github.com/users/max-underthesun/repos","events_url":"https://api.github.com/users/max-underthesun/events{/privacy}","received_events_url":"https://api.github.com/users/max-underthesun/received_events","type":"User","site_admin":false},"position":166,"line":62,"path":"lesson 3/trains.rb","commit_id":"16825c7acd1325983f251b74aac33a9776358edc","created_at":"2018-09-24T18:11:07Z","updated_at":"2018-09-24T18:11:07Z","author_association":"NONE","body":"то же самое можно еще переписать так (по желанию):\r\n```ruby\r\n@speed = value < @speed ? @speed - value : 0\r\n```"}}
{"actor":{"display_login":"max-underthesun"}}