{"action":"created","comment":{"url":"https://api.github.com/repos/vikram7/rubies/pulls/comments/23763425","id":23763425,"diff_hunk":"@@ -17,33 +17,45 @@ def gets\n     end\n \n     def display_splash\n-      puts \"\\e[H\\e[2J\"\n-      puts \"\n-    .______       __    __  .______    __   _______     _______.\n-    |   _  \\\\     |  |  |  | |   _  \\\\  |  | |   ____|   /       |\n-    |  |_)  |    |  |  |  | |  |_)  | |  | |  |__     |   (----`\n-    |      /     |  |  |  | |   _  <  |  | |   __|     \\\\   \\\\\n-    |  |\\\\  \\\\----.|  `--'  | |  |_)  | |  | |  |____.----)   |\n-    | _| `._____| \\\\______/  |______/  |__| |_______|_______/\n-\n-    \".colorize(:light_magenta)\n-      puts \"\n-    ================================================================\n-                               LEGEND\n-                   NEW : get a new data structure\n-                   EXIT: exit program\n-    ================================================================\n-    \".colorize(:light_magenta)\n-      puts \"Press enter to continue . . . \"\n-\n-      gets.chomp\n-      puts \"\\e[H\\e[2J\"\n+      begin\n+        puts \"\\e[H\\e[2J\"\n+        puts \"\n+      .______       __    __  .______    __   _______     _______.\n+      |   _  \\\\     |  |  |  | |   _  \\\\  |  | |   ____|   /       |\n+      |  |_)  |    |  |  |  | |  |_)  | |  | |  |__     |   (----`\n+      |      /     |  |  |  | |   _  <  |  | |   __|     \\\\   \\\\\n+      |  |\\\\  \\\\----.|  `--'  | |  |_)  | |  | |  |____.----)   |\n+      | _| `._____| \\\\______/  |______/  |__| |_______|_______/\n+\n+      \".colorize(:light_magenta)\n+        puts \"\n+      ================================================================\n+                                 LEGEND\n+                     NEW : get a new data structure\n+                     EXIT: exit program\n+      ================================================================\n+      \".colorize(:light_magenta)\n+        puts \"Press enter to continue . . . \"\n+\n+        gets.chomp\n+        puts \"\\e[H\\e[2J\"\n+      rescue Interrupt => e","path":"lib/rubies/game.rb","position":47,"original_position":47,"commit_id":"0633a2e7c47eb20f49c430d68f7c2bbb0a644c3e","original_commit_id":"0633a2e7c47eb20f49c430d68f7c2bbb0a644c3e","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Useless assignment to variable - `e`.","created_at":"2015-01-29T12:11:04Z","updated_at":"2015-01-29T12:11:04Z","html_url":"https://github.com/vikram7/rubies/pull/21#discussion_r23763425","pull_request_url":"https://api.github.com/repos/vikram7/rubies/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/comments/23763425"},"html":{"href":"https://github.com/vikram7/rubies/pull/21#discussion_r23763425"},"pull_request":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/vikram7/rubies/pulls/21","id":28273833,"html_url":"https://github.com/vikram7/rubies/pull/21","diff_url":"https://github.com/vikram7/rubies/pull/21.diff","patch_url":"https://github.com/vikram7/rubies/pull/21.patch","issue_url":"https://api.github.com/repos/vikram7/rubies/issues/21","number":21,"state":"open","locked":false,"title":"Fixed Issues #16, #17, #19","user":{"login":"chinmaydd","id":6960646,"avatar_url":"https://avatars.githubusercontent.com/u/6960646?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaydd","html_url":"https://github.com/chinmaydd","followers_url":"https://api.github.com/users/chinmaydd/followers","following_url":"https://api.github.com/users/chinmaydd/following{/other_user}","gists_url":"https://api.github.com/users/chinmaydd/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaydd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaydd/subscriptions","organizations_url":"https://api.github.com/users/chinmaydd/orgs","repos_url":"https://api.github.com/users/chinmaydd/repos","events_url":"https://api.github.com/users/chinmaydd/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaydd/received_events","type":"User","site_admin":false},"body":"Regarding issue #16 , I have updated it to exit at CTRL+C instead of CTRL+D. ","created_at":"2015-01-29T12:11:01Z","updated_at":"2015-01-29T12:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1031943cc510db6fece8b8f9f895b017cfe15a5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vikram7/rubies/pulls/21/commits","review_comments_url":"https://api.github.com/repos/vikram7/rubies/pulls/21/comments","review_comment_url":"https://api.github.com/repos/vikram7/rubies/pulls/comments/{number}","comments_url":"https://api.github.com/repos/vikram7/rubies/issues/21/comments","statuses_url":"https://api.github.com/repos/vikram7/rubies/statuses/0633a2e7c47eb20f49c430d68f7c2bbb0a644c3e","head":{"label":"chinmaydd:master","ref":"master","sha":"0633a2e7c47eb20f49c430d68f7c2bbb0a644c3e","user":{"login":"chinmaydd","id":6960646,"avatar_url":"https://avatars.githubusercontent.com/u/6960646?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaydd","html_url":"https://github.com/chinmaydd","followers_url":"https://api.github.com/users/chinmaydd/followers","following_url":"https://api.github.com/users/chinmaydd/following{/other_user}","gists_url":"https://api.github.com/users/chinmaydd/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaydd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaydd/subscriptions","organizations_url":"https://api.github.com/users/chinmaydd/orgs","repos_url":"https://api.github.com/users/chinmaydd/repos","events_url":"https://api.github.com/users/chinmaydd/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaydd/received_events","type":"User","site_admin":false},"repo":{"id":29921524,"name":"rubies","full_name":"chinmaydd/rubies","owner":{"login":"chinmaydd","id":6960646,"avatar_url":"https://avatars.githubusercontent.com/u/6960646?v=3","gravatar_id":"","url":"https://api.github.com/users/chinmaydd","html_url":"https://github.com/chinmaydd","followers_url":"https://api.github.com/users/chinmaydd/followers","following_url":"https://api.github.com/users/chinmaydd/following{/other_user}","gists_url":"https://api.github.com/users/chinmaydd/gists{/gist_id}","starred_url":"https://api.github.com/users/chinmaydd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chinmaydd/subscriptions","organizations_url":"https://api.github.com/users/chinmaydd/orgs","repos_url":"https://api.github.com/users/chinmaydd/repos","events_url":"https://api.github.com/users/chinmaydd/events{/privacy}","received_events_url":"https://api.github.com/users/chinmaydd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chinmaydd/rubies","description":"A Ruby gem to practice small ruby coding drills","fork":true,"url":"https://api.github.com/repos/chinmaydd/rubies","forks_url":"https://api.github.com/repos/chinmaydd/rubies/forks","keys_url":"https://api.github.com/repos/chinmaydd/rubies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chinmaydd/rubies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chinmaydd/rubies/teams","hooks_url":"https://api.github.com/repos/chinmaydd/rubies/hooks","issue_events_url":"https://api.github.com/repos/chinmaydd/rubies/issues/events{/number}","events_url":"https://api.github.com/repos/chinmaydd/rubies/events","assignees_url":"https://api.github.com/repos/chinmaydd/rubies/assignees{/user}","branches_url":"https://api.github.com/repos/chinmaydd/rubies/branches{/branch}","tags_url":"https://api.github.com/repos/chinmaydd/rubies/tags","blobs_url":"https://api.github.com/repos/chinmaydd/rubies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chinmaydd/rubies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chinmaydd/rubies/git/refs{/sha}","trees_url":"https://api.github.com/repos/chinmaydd/rubies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chinmaydd/rubies/statuses/{sha}","languages_url":"https://api.github.com/repos/chinmaydd/rubies/languages","stargazers_url":"https://api.github.com/repos/chinmaydd/rubies/stargazers","contributors_url":"https://api.github.com/repos/chinmaydd/rubies/contributors","subscribers_url":"https://api.github.com/repos/chinmaydd/rubies/subscribers","subscription_url":"https://api.github.com/repos/chinmaydd/rubies/subscription","commits_url":"https://api.github.com/repos/chinmaydd/rubies/commits{/sha}","git_commits_url":"https://api.github.com/repos/chinmaydd/rubies/git/commits{/sha}","comments_url":"https://api.github.com/repos/chinmaydd/rubies/comments{/number}","issue_comment_url":"https://api.github.com/repos/chinmaydd/rubies/issues/comments/{number}","contents_url":"https://api.github.com/repos/chinmaydd/rubies/contents/{+path}","compare_url":"https://api.github.com/repos/chinmaydd/rubies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chinmaydd/rubies/merges","archive_url":"https://api.github.com/repos/chinmaydd/rubies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chinmaydd/rubies/downloads","issues_url":"https://api.github.com/repos/chinmaydd/rubies/issues{/number}","pulls_url":"https://api.github.com/repos/chinmaydd/rubies/pulls{/number}","milestones_url":"https://api.github.com/repos/chinmaydd/rubies/milestones{/number}","notifications_url":"https://api.github.com/repos/chinmaydd/rubies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chinmaydd/rubies/labels{/name}","releases_url":"https://api.github.com/repos/chinmaydd/rubies/releases{/id}","created_at":"2015-01-27T15:56:54Z","updated_at":"2015-01-28T16:28:22Z","pushed_at":"2015-01-28T16:28:21Z","git_url":"git://github.com/chinmaydd/rubies.git","ssh_url":"git@github.com:chinmaydd/rubies.git","clone_url":"https://github.com/chinmaydd/rubies.git","svn_url":"https://github.com/chinmaydd/rubies","homepage":null,"size":344,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vikram7:master","ref":"master","sha":"6d5e77d217c06908411fbca172331378562e75ea","user":{"login":"vikram7","id":7072744,"avatar_url":"https://avatars.githubusercontent.com/u/7072744?v=3","gravatar_id":"","url":"https://api.github.com/users/vikram7","html_url":"https://github.com/vikram7","followers_url":"https://api.github.com/users/vikram7/followers","following_url":"https://api.github.com/users/vikram7/following{/other_user}","gists_url":"https://api.github.com/users/vikram7/gists{/gist_id}","starred_url":"https://api.github.com/users/vikram7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikram7/subscriptions","organizations_url":"https://api.github.com/users/vikram7/orgs","repos_url":"https://api.github.com/users/vikram7/repos","events_url":"https://api.github.com/users/vikram7/events{/privacy}","received_events_url":"https://api.github.com/users/vikram7/received_events","type":"User","site_admin":false},"repo":{"id":27646389,"name":"rubies","full_name":"vikram7/rubies","owner":{"login":"vikram7","id":7072744,"avatar_url":"https://avatars.githubusercontent.com/u/7072744?v=3","gravatar_id":"","url":"https://api.github.com/users/vikram7","html_url":"https://github.com/vikram7","followers_url":"https://api.github.com/users/vikram7/followers","following_url":"https://api.github.com/users/vikram7/following{/other_user}","gists_url":"https://api.github.com/users/vikram7/gists{/gist_id}","starred_url":"https://api.github.com/users/vikram7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikram7/subscriptions","organizations_url":"https://api.github.com/users/vikram7/orgs","repos_url":"https://api.github.com/users/vikram7/repos","events_url":"https://api.github.com/users/vikram7/events{/privacy}","received_events_url":"https://api.github.com/users/vikram7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vikram7/rubies","description":"A Ruby gem to practice small ruby coding drills","fork":false,"url":"https://api.github.com/repos/vikram7/rubies","forks_url":"https://api.github.com/repos/vikram7/rubies/forks","keys_url":"https://api.github.com/repos/vikram7/rubies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vikram7/rubies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vikram7/rubies/teams","hooks_url":"https://api.github.com/repos/vikram7/rubies/hooks","issue_events_url":"https://api.github.com/repos/vikram7/rubies/issues/events{/number}","events_url":"https://api.github.com/repos/vikram7/rubies/events","assignees_url":"https://api.github.com/repos/vikram7/rubies/assignees{/user}","branches_url":"https://api.github.com/repos/vikram7/rubies/branches{/branch}","tags_url":"https://api.github.com/repos/vikram7/rubies/tags","blobs_url":"https://api.github.com/repos/vikram7/rubies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vikram7/rubies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vikram7/rubies/git/refs{/sha}","trees_url":"https://api.github.com/repos/vikram7/rubies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vikram7/rubies/statuses/{sha}","languages_url":"https://api.github.com/repos/vikram7/rubies/languages","stargazers_url":"https://api.github.com/repos/vikram7/rubies/stargazers","contributors_url":"https://api.github.com/repos/vikram7/rubies/contributors","subscribers_url":"https://api.github.com/repos/vikram7/rubies/subscribers","subscription_url":"https://api.github.com/repos/vikram7/rubies/subscription","commits_url":"https://api.github.com/repos/vikram7/rubies/commits{/sha}","git_commits_url":"https://api.github.com/repos/vikram7/rubies/git/commits{/sha}","comments_url":"https://api.github.com/repos/vikram7/rubies/comments{/number}","issue_comment_url":"https://api.github.com/repos/vikram7/rubies/issues/comments/{number}","contents_url":"https://api.github.com/repos/vikram7/rubies/contents/{+path}","compare_url":"https://api.github.com/repos/vikram7/rubies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vikram7/rubies/merges","archive_url":"https://api.github.com/repos/vikram7/rubies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vikram7/rubies/downloads","issues_url":"https://api.github.com/repos/vikram7/rubies/issues{/number}","pulls_url":"https://api.github.com/repos/vikram7/rubies/pulls{/number}","milestones_url":"https://api.github.com/repos/vikram7/rubies/milestones{/number}","notifications_url":"https://api.github.com/repos/vikram7/rubies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vikram7/rubies/labels{/name}","releases_url":"https://api.github.com/repos/vikram7/rubies/releases{/id}","created_at":"2014-12-06T19:33:35Z","updated_at":"2015-01-28T14:19:20Z","pushed_at":"2015-01-27T11:08:00Z","git_url":"git://github.com/vikram7/rubies.git","ssh_url":"git@github.com:vikram7/rubies.git","clone_url":"https://github.com/vikram7/rubies.git","svn_url":"https://github.com/vikram7/rubies","homepage":null,"size":344,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":10,"forks":7,"open_issues":10,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/21"},"html":{"href":"https://github.com/vikram7/rubies/pull/21"},"issue":{"href":"https://api.github.com/repos/vikram7/rubies/issues/21"},"comments":{"href":"https://api.github.com/repos/vikram7/rubies/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/vikram7/rubies/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/vikram7/rubies/statuses/0633a2e7c47eb20f49c430d68f7c2bbb0a644c3e"}}}}