{"comment":{"url":"https://api.github.com/repos/medeiva/ruby_basics/comments/29712537","html_url":"https://github.com/medeiva/ruby_basics/commit/217232d9605a56a376c8ea0e6a340904fdc2a9be#commitcomment-29712537","id":29712537,"node_id":"MDEzOkNvbW1pdENvbW1lbnQyOTcxMjUzNw==","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":5,"line":75,"path":"lesson4/rail_road.rb","commit_id":"217232d9605a56a376c8ea0e6a340904fdc2a9be","created_at":"2018-07-15T11:36:56Z","updated_at":"2018-07-15T11:36:56Z","author_association":"NONE","body":"лучше конечно избегать таких длинных строк, даже если это один путс\r\nесть куча разных способов этого достичь\r\nсамый простой:\r\n```ruby\r\n2.5.1 :003 > puts \"some string\\n\\\r\n2.5.1 :004\"> next line\\n\\\r\n2.5.1 :005\"> third line\"\r\nsome string\r\nnext line\r\nthird line\r\n => nil \r\n2.5.1 :006 >\r\n```\r\nили несколько путсов:\r\n```ruby\r\nputs 'first line\"\r\nputs \"second line\"\r\nputs \"third line\"\r\n```\r\nили как-то так:\r\n```ruby\r\nlines = [\r\n  \"first line\",\r\n  \"second line\",\r\n  \"third line\"\r\n]\r\nlines.each { |line| puts line }\r\n```"}}
{"actor":{"display_login":"max-underthesun"}}