{"action":"created","comment":{"url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/comments/300941190","pull_request_review_id":258710424,"id":300941190,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMDk0MTE5MA==","diff_hunk":"@@ -0,0 +1,184 @@\n+require File.expand_path(File.dirname(__FILE__) + '/neo')\n+\n+class AboutMessagePassing < Neo::Koan\n+\n+  class MessageCatcher\n+    def caught?\n+      true\n+    end\n+  end\n+\n+  def test_methods_can_be_called_directly\n+    mc = MessageCatcher.new\n+\n+    assert mc.caught?\n+  end\n+\n+  def test_methods_can_be_invoked_by_sending_the_message\n+    mc = MessageCatcher.new\n+\n+    assert mc.send(:caught?)\n+  end\n+\n+  def test_methods_can_be_invoked_more_dynamically\n+    mc = MessageCatcher.new\n+\n+    assert mc.send(\"caught?\")\n+    assert mc.send(\"caught\" + \"?\" )    # What do you need to add to the first string?","path":"3600/0/about_message_passing.rb","position":27,"original_position":27,"commit_id":"17677632dd2276f5d66f51428e9f05dc9e8a5234","original_commit_id":"17677632dd2276f5d66f51428e9f05dc9e8a5234","user":{"login":"hound[bot]","id":30008653,"node_id":"MDM6Qm90MzAwMDg2NTM=","avatar_url":"https://avatars1.githubusercontent.com/in/3598?v=4","gravatar_id":"","url":"https://api.github.com/users/hound%5Bbot%5D","html_url":"https://github.com/apps/hound","followers_url":"https://api.github.com/users/hound%5Bbot%5D/followers","following_url":"https://api.github.com/users/hound%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/hound%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/hound%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hound%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/hound%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/hound%5Bbot%5D/repos","events_url":"https://api.github.com/users/hound%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/hound%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.<br>Layout/SpaceInsideParens: Space inside parentheses detected.<br>Layout/ExtraSpacing: Unnecessary spacing detected.","created_at":"2019-07-08T06:40:28Z","updated_at":"2019-07-08T06:40:30Z","html_url":"https://github.com/rubizza-camp/summer-2019/pull/35#discussion_r300941190","pull_request_url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/comments/300941190"},"html":{"href":"https://github.com/rubizza-camp/summer-2019/pull/35#discussion_r300941190"},"pull_request":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35","id":295135410,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk1MTM1NDEw","html_url":"https://github.com/rubizza-camp/summer-2019/pull/35","diff_url":"https://github.com/rubizza-camp/summer-2019/pull/35.diff","patch_url":"https://github.com/rubizza-camp/summer-2019/pull/35.patch","issue_url":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/35","number":35,"state":"open","locked":false,"title":"3600 - 0","user":{"login":"sametsJR","id":46228563,"node_id":"MDQ6VXNlcjQ2MjI4NTYz","avatar_url":"https://avatars0.githubusercontent.com/u/46228563?v=4","gravatar_id":"","url":"https://api.github.com/users/sametsJR","html_url":"https://github.com/sametsJR","followers_url":"https://api.github.com/users/sametsJR/followers","following_url":"https://api.github.com/users/sametsJR/following{/other_user}","gists_url":"https://api.github.com/users/sametsJR/gists{/gist_id}","starred_url":"https://api.github.com/users/sametsJR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sametsJR/subscriptions","organizations_url":"https://api.github.com/users/sametsJR/orgs","repos_url":"https://api.github.com/users/sametsJR/repos","events_url":"https://api.github.com/users/sametsJR/events{/privacy}","received_events_url":"https://api.github.com/users/sametsJR/received_events","type":"User","site_admin":false},"body":"## Номер\r\n3600\r\n\r\n## Номер задания\r\n0\r\n\r\n## Ссылка на видео с демо\r\nhttps://youtu.be/X7MC4ZBl2IU\r\n\r\n## Комментарии\r\nI did it\r\n\r\n\r\n","created_at":"2019-07-07T22:33:19Z","updated_at":"2019-07-08T06:40:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8cfe2c1bbd9c0c3eb2045bc65650484941c65c39","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35/commits","review_comments_url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35/comments","review_comment_url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/35/comments","statuses_url":"https://api.github.com/repos/rubizza-camp/summer-2019/statuses/17677632dd2276f5d66f51428e9f05dc9e8a5234","head":{"label":"sametsJR:master","ref":"master","sha":"17677632dd2276f5d66f51428e9f05dc9e8a5234","user":{"login":"sametsJR","id":46228563,"node_id":"MDQ6VXNlcjQ2MjI4NTYz","avatar_url":"https://avatars0.githubusercontent.com/u/46228563?v=4","gravatar_id":"","url":"https://api.github.com/users/sametsJR","html_url":"https://github.com/sametsJR","followers_url":"https://api.github.com/users/sametsJR/followers","following_url":"https://api.github.com/users/sametsJR/following{/other_user}","gists_url":"https://api.github.com/users/sametsJR/gists{/gist_id}","starred_url":"https://api.github.com/users/sametsJR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sametsJR/subscriptions","organizations_url":"https://api.github.com/users/sametsJR/orgs","repos_url":"https://api.github.com/users/sametsJR/repos","events_url":"https://api.github.com/users/sametsJR/events{/privacy}","received_events_url":"https://api.github.com/users/sametsJR/received_events","type":"User","site_admin":false},"repo":{"id":195685866,"node_id":"MDEwOlJlcG9zaXRvcnkxOTU2ODU4NjY=","name":"summer-2019","full_name":"sametsJR/summer-2019","private":false,"owner":{"login":"sametsJR","id":46228563,"node_id":"MDQ6VXNlcjQ2MjI4NTYz","avatar_url":"https://avatars0.githubusercontent.com/u/46228563?v=4","gravatar_id":"","url":"https://api.github.com/users/sametsJR","html_url":"https://github.com/sametsJR","followers_url":"https://api.github.com/users/sametsJR/followers","following_url":"https://api.github.com/users/sametsJR/following{/other_user}","gists_url":"https://api.github.com/users/sametsJR/gists{/gist_id}","starred_url":"https://api.github.com/users/sametsJR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sametsJR/subscriptions","organizations_url":"https://api.github.com/users/sametsJR/orgs","repos_url":"https://api.github.com/users/sametsJR/repos","events_url":"https://api.github.com/users/sametsJR/events{/privacy}","received_events_url":"https://api.github.com/users/sametsJR/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sametsJR/summer-2019","description":"Rubizza 2019 Summer homeworks storage","fork":true,"url":"https://api.github.com/repos/sametsJR/summer-2019","forks_url":"https://api.github.com/repos/sametsJR/summer-2019/forks","keys_url":"https://api.github.com/repos/sametsJR/summer-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sametsJR/summer-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sametsJR/summer-2019/teams","hooks_url":"https://api.github.com/repos/sametsJR/summer-2019/hooks","issue_events_url":"https://api.github.com/repos/sametsJR/summer-2019/issues/events{/number}","events_url":"https://api.github.com/repos/sametsJR/summer-2019/events","assignees_url":"https://api.github.com/repos/sametsJR/summer-2019/assignees{/user}","branches_url":"https://api.github.com/repos/sametsJR/summer-2019/branches{/branch}","tags_url":"https://api.github.com/repos/sametsJR/summer-2019/tags","blobs_url":"https://api.github.com/repos/sametsJR/summer-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sametsJR/summer-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sametsJR/summer-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/sametsJR/summer-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sametsJR/summer-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/sametsJR/summer-2019/languages","stargazers_url":"https://api.github.com/repos/sametsJR/summer-2019/stargazers","contributors_url":"https://api.github.com/repos/sametsJR/summer-2019/contributors","subscribers_url":"https://api.github.com/repos/sametsJR/summer-2019/subscribers","subscription_url":"https://api.github.com/repos/sametsJR/summer-2019/subscription","commits_url":"https://api.github.com/repos/sametsJR/summer-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/sametsJR/summer-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/sametsJR/summer-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/sametsJR/summer-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/sametsJR/summer-2019/contents/{+path}","compare_url":"https://api.github.com/repos/sametsJR/summer-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sametsJR/summer-2019/merges","archive_url":"https://api.github.com/repos/sametsJR/summer-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sametsJR/summer-2019/downloads","issues_url":"https://api.github.com/repos/sametsJR/summer-2019/issues{/number}","pulls_url":"https://api.github.com/repos/sametsJR/summer-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/sametsJR/summer-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/sametsJR/summer-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sametsJR/summer-2019/labels{/name}","releases_url":"https://api.github.com/repos/sametsJR/summer-2019/releases{/id}","deployments_url":"https://api.github.com/repos/sametsJR/summer-2019/deployments","created_at":"2019-07-07T18:47:28Z","updated_at":"2019-07-08T06:39:57Z","pushed_at":"2019-07-08T06:39:53Z","git_url":"git://github.com/sametsJR/summer-2019.git","ssh_url":"git@github.com:sametsJR/summer-2019.git","clone_url":"https://github.com/sametsJR/summer-2019.git","svn_url":"https://github.com/sametsJR/summer-2019","homepage":"https://rubizza.com","size":154,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubizza-camp:master","ref":"master","sha":"4fd343834056c85e2259bb42989cf7813eac956f","user":{"login":"rubizza-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-camp","html_url":"https://github.com/rubizza-camp","followers_url":"https://api.github.com/users/rubizza-camp/followers","following_url":"https://api.github.com/users/rubizza-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-camp/orgs","repos_url":"https://api.github.com/users/rubizza-camp/repos","events_url":"https://api.github.com/users/rubizza-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-camp/received_events","type":"Organization","site_admin":false},"repo":{"id":194091304,"node_id":"MDEwOlJlcG9zaXRvcnkxOTQwOTEzMDQ=","name":"summer-2019","full_name":"rubizza-camp/summer-2019","private":false,"owner":{"login":"rubizza-camp","id":40864986,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwODY0OTg2","avatar_url":"https://avatars1.githubusercontent.com/u/40864986?v=4","gravatar_id":"","url":"https://api.github.com/users/rubizza-camp","html_url":"https://github.com/rubizza-camp","followers_url":"https://api.github.com/users/rubizza-camp/followers","following_url":"https://api.github.com/users/rubizza-camp/following{/other_user}","gists_url":"https://api.github.com/users/rubizza-camp/gists{/gist_id}","starred_url":"https://api.github.com/users/rubizza-camp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubizza-camp/subscriptions","organizations_url":"https://api.github.com/users/rubizza-camp/orgs","repos_url":"https://api.github.com/users/rubizza-camp/repos","events_url":"https://api.github.com/users/rubizza-camp/events{/privacy}","received_events_url":"https://api.github.com/users/rubizza-camp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rubizza-camp/summer-2019","description":"Rubizza 2019 Summer homeworks storage","fork":false,"url":"https://api.github.com/repos/rubizza-camp/summer-2019","forks_url":"https://api.github.com/repos/rubizza-camp/summer-2019/forks","keys_url":"https://api.github.com/repos/rubizza-camp/summer-2019/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubizza-camp/summer-2019/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubizza-camp/summer-2019/teams","hooks_url":"https://api.github.com/repos/rubizza-camp/summer-2019/hooks","issue_events_url":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/events{/number}","events_url":"https://api.github.com/repos/rubizza-camp/summer-2019/events","assignees_url":"https://api.github.com/repos/rubizza-camp/summer-2019/assignees{/user}","branches_url":"https://api.github.com/repos/rubizza-camp/summer-2019/branches{/branch}","tags_url":"https://api.github.com/repos/rubizza-camp/summer-2019/tags","blobs_url":"https://api.github.com/repos/rubizza-camp/summer-2019/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubizza-camp/summer-2019/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubizza-camp/summer-2019/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubizza-camp/summer-2019/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubizza-camp/summer-2019/statuses/{sha}","languages_url":"https://api.github.com/repos/rubizza-camp/summer-2019/languages","stargazers_url":"https://api.github.com/repos/rubizza-camp/summer-2019/stargazers","contributors_url":"https://api.github.com/repos/rubizza-camp/summer-2019/contributors","subscribers_url":"https://api.github.com/repos/rubizza-camp/summer-2019/subscribers","subscription_url":"https://api.github.com/repos/rubizza-camp/summer-2019/subscription","commits_url":"https://api.github.com/repos/rubizza-camp/summer-2019/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubizza-camp/summer-2019/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubizza-camp/summer-2019/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubizza-camp/summer-2019/contents/{+path}","compare_url":"https://api.github.com/repos/rubizza-camp/summer-2019/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubizza-camp/summer-2019/merges","archive_url":"https://api.github.com/repos/rubizza-camp/summer-2019/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubizza-camp/summer-2019/downloads","issues_url":"https://api.github.com/repos/rubizza-camp/summer-2019/issues{/number}","pulls_url":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls{/number}","milestones_url":"https://api.github.com/repos/rubizza-camp/summer-2019/milestones{/number}","notifications_url":"https://api.github.com/repos/rubizza-camp/summer-2019/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubizza-camp/summer-2019/labels{/name}","releases_url":"https://api.github.com/repos/rubizza-camp/summer-2019/releases{/id}","deployments_url":"https://api.github.com/repos/rubizza-camp/summer-2019/deployments","created_at":"2019-06-27T12:29:20Z","updated_at":"2019-07-08T06:27:43Z","pushed_at":"2019-07-08T06:39:56Z","git_url":"git://github.com/rubizza-camp/summer-2019.git","ssh_url":"git@github.com:rubizza-camp/summer-2019.git","clone_url":"https://github.com/rubizza-camp/summer-2019.git","svn_url":"https://github.com/rubizza-camp/summer-2019","homepage":"https://rubizza.com","size":31,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":22,"license":null,"forks":64,"open_issues":22,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35"},"html":{"href":"https://github.com/rubizza-camp/summer-2019/pull/35"},"issue":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/35"},"comments":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/rubizza-camp/summer-2019/statuses/17677632dd2276f5d66f51428e9f05dc9e8a5234"}},"author_association":"NONE"}}
{"actor":{"display_login":"hound"}}