{"action":"created","comment":{"url":"https://api.github.com/repos/angel08/talkative_robot/pulls/comments/23027459","id":23027459,"diff_hunk":"@@ -0,0 +1,108 @@\n+# user[:first_name] = get_first_name\n+# user = {}\n+\n+# def get_first_name\n+  # print \"What is your name?\"\n+  # user_first_name = gets.chomp\n+  # user_first_name = user_first_name.split.first\n+# end\n+# first_name = get_first_name\n+\n+# user[:first_name] = get_first_name\n+# user_first_name = user[:first_name]\n+\n+# def mothers_name(user_first_name)\n+#     if user_first_name == \"Susan\"\n+#         puts (\"That is my mother's name!\");\n+#     else\n+#     puts (\"That is a lovely name!\")\n+#     end\n+#     return user_first_name\n+# end\n+\n+# mothers_name(user_first_name)\n+\n+# print \"What is your age?\"\n+# user_age = gets.chomp.to_i\n+# puts \"You are older than me!\" unless user_age < 33\n+# def age_based_greeting(user_age)\n+#     if user_age < 75\n+#         puts \"You will be 75 years old in #{75 - user_age} years!\"\n+#     elsif user_age == 75\n+#         puts \"You're 75!\"\n+#     else\n+#         puts \"You turned 75 years old #{user_age - 75} years ago!\"\n+#     end\n+#     return user_age\n+# end\n+\n+# age_based_greeting(user_age)\n+\n+\n+# print \"Are you a male or a female?\"\n+# user_gender = gets.chomp\n+# def age_based_question(user_age, user_gender)\n+#     if user_gender == \"female\" && user_age > 80\n+#         puts (\"Are you a great-grandma?\");\n+#     elsif user_gender == \"male\" && user_age > 80\n+#         puts (\"Are you a great-grandpa?\")\n+#     elsif user_gender == \"female\" && user_age < 22\n+#         puts (\"You are a very young lady!\");\n+#     else user_gender == \"male\" && user_age < 22\n+#         puts (\"You are a very young man!\")\n+#     end\n+#     return user_gender, user_age\n+# end\n+\n+# age_based_question(user_age, user_gender)\n+\n+\n+# puts \"What state are you from?\"\n+# hometown = gets.chomp\n+# puts \"I am from California too!\" if hometown == \"California\"\n+\n+# puts \"Hi #{name}, who is #{age} years old from #{hometown}!\"\n+\n+# first_initial = name.chars.first\n+\n+# puts \"Do you mind if I call you #{first_initial}?\"\n+\n+# puts \"What do you do?\"\n+# your_job = gets.chomp\n+\n+# job = your_job == \"retired\" ? \"That sounds great!\" : \"That sounds awful!\"\n+# puts \"#{job}\"\n+\n+# name = name.split.first\n+\n+# puts \"Hey #{name.upcase!}, where are you going!?\"\n+\n+# puts \"Hey \\\"Dude\\\", what’s up?\" \n+\n+grocery_list = [\"cereal\", \"tomatoes\", \"rice\", \"eggs\", \"cheese\", \"coffee\", \"milk\"]\n+user_questions = {\n+    \"name\" => \"What is your name?\", ","path":"talkative_robot_2.rb","position":84,"original_position":84,"commit_id":"5417cdc2929054ea09710d9fb63b3ef3162e586c","original_commit_id":"5417cdc2929054ea09710d9fb63b3ef3162e586c","user":{"login":"rgpass","id":4154682,"avatar_url":"https://avatars.githubusercontent.com/u/4154682?v=3","gravatar_id":"","url":"https://api.github.com/users/rgpass","html_url":"https://github.com/rgpass","followers_url":"https://api.github.com/users/rgpass/followers","following_url":"https://api.github.com/users/rgpass/following{/other_user}","gists_url":"https://api.github.com/users/rgpass/gists{/gist_id}","starred_url":"https://api.github.com/users/rgpass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgpass/subscriptions","organizations_url":"https://api.github.com/users/rgpass/orgs","repos_url":"https://api.github.com/users/rgpass/repos","events_url":"https://api.github.com/users/rgpass/events{/privacy}","received_events_url":"https://api.github.com/users/rgpass/received_events","type":"User","site_admin":false},"body":"This would be better as an array. Refer to the code I sent out from the review this morning.","created_at":"2015-01-15T17:37:58Z","updated_at":"2015-01-15T17:37:58Z","html_url":"https://github.com/angel08/talkative_robot/pull/3#discussion_r23027459","pull_request_url":"https://api.github.com/repos/angel08/talkative_robot/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/comments/23027459"},"html":{"href":"https://github.com/angel08/talkative_robot/pull/3#discussion_r23027459"},"pull_request":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/angel08/talkative_robot/pulls/3","id":27406206,"html_url":"https://github.com/angel08/talkative_robot/pull/3","diff_url":"https://github.com/angel08/talkative_robot/pull/3.diff","patch_url":"https://github.com/angel08/talkative_robot/pull/3.patch","issue_url":"https://api.github.com/repos/angel08/talkative_robot/issues/3","number":3,"state":"open","locked":false,"title":"Lab 3 - Collections Lab","user":{"login":"angel08","id":10440203,"avatar_url":"https://avatars.githubusercontent.com/u/10440203?v=3","gravatar_id":"","url":"https://api.github.com/users/angel08","html_url":"https://github.com/angel08","followers_url":"https://api.github.com/users/angel08/followers","following_url":"https://api.github.com/users/angel08/following{/other_user}","gists_url":"https://api.github.com/users/angel08/gists{/gist_id}","starred_url":"https://api.github.com/users/angel08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angel08/subscriptions","organizations_url":"https://api.github.com/users/angel08/orgs","repos_url":"https://api.github.com/users/angel08/repos","events_url":"https://api.github.com/users/angel08/events{/privacy}","received_events_url":"https://api.github.com/users/angel08/received_events","type":"User","site_admin":false},"body":"{\r\n  \"comfortability\": 3,\r\n  \"completeness\": 3,\r\n  \"questions\": How would I remove the random item from the list if the answer is \"yes\"?\r\n}","created_at":"2015-01-15T04:53:10Z","updated_at":"2015-01-15T17:37:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03416b7e3c406e7919addef97bb036abe5587962","assignee":{"login":"marcwright","id":5376993,"avatar_url":"https://avatars.githubusercontent.com/u/5376993?v=3","gravatar_id":"","url":"https://api.github.com/users/marcwright","html_url":"https://github.com/marcwright","followers_url":"https://api.github.com/users/marcwright/followers","following_url":"https://api.github.com/users/marcwright/following{/other_user}","gists_url":"https://api.github.com/users/marcwright/gists{/gist_id}","starred_url":"https://api.github.com/users/marcwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcwright/subscriptions","organizations_url":"https://api.github.com/users/marcwright/orgs","repos_url":"https://api.github.com/users/marcwright/repos","events_url":"https://api.github.com/users/marcwright/events{/privacy}","received_events_url":"https://api.github.com/users/marcwright/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/angel08/talkative_robot/pulls/3/commits","review_comments_url":"https://api.github.com/repos/angel08/talkative_robot/pulls/3/comments","review_comment_url":"https://api.github.com/repos/angel08/talkative_robot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/angel08/talkative_robot/issues/3/comments","statuses_url":"https://api.github.com/repos/angel08/talkative_robot/statuses/5417cdc2929054ea09710d9fb63b3ef3162e586c","head":{"label":"angel08:collections_lab","ref":"collections_lab","sha":"5417cdc2929054ea09710d9fb63b3ef3162e586c","user":{"login":"angel08","id":10440203,"avatar_url":"https://avatars.githubusercontent.com/u/10440203?v=3","gravatar_id":"","url":"https://api.github.com/users/angel08","html_url":"https://github.com/angel08","followers_url":"https://api.github.com/users/angel08/followers","following_url":"https://api.github.com/users/angel08/following{/other_user}","gists_url":"https://api.github.com/users/angel08/gists{/gist_id}","starred_url":"https://api.github.com/users/angel08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angel08/subscriptions","organizations_url":"https://api.github.com/users/angel08/orgs","repos_url":"https://api.github.com/users/angel08/repos","events_url":"https://api.github.com/users/angel08/events{/privacy}","received_events_url":"https://api.github.com/users/angel08/received_events","type":"User","site_admin":false},"repo":{"id":29248251,"name":"talkative_robot","full_name":"angel08/talkative_robot","owner":{"login":"angel08","id":10440203,"avatar_url":"https://avatars.githubusercontent.com/u/10440203?v=3","gravatar_id":"","url":"https://api.github.com/users/angel08","html_url":"https://github.com/angel08","followers_url":"https://api.github.com/users/angel08/followers","following_url":"https://api.github.com/users/angel08/following{/other_user}","gists_url":"https://api.github.com/users/angel08/gists{/gist_id}","starred_url":"https://api.github.com/users/angel08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angel08/subscriptions","organizations_url":"https://api.github.com/users/angel08/orgs","repos_url":"https://api.github.com/users/angel08/repos","events_url":"https://api.github.com/users/angel08/events{/privacy}","received_events_url":"https://api.github.com/users/angel08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/angel08/talkative_robot","description":"talkative robot project ","fork":false,"url":"https://api.github.com/repos/angel08/talkative_robot","forks_url":"https://api.github.com/repos/angel08/talkative_robot/forks","keys_url":"https://api.github.com/repos/angel08/talkative_robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angel08/talkative_robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angel08/talkative_robot/teams","hooks_url":"https://api.github.com/repos/angel08/talkative_robot/hooks","issue_events_url":"https://api.github.com/repos/angel08/talkative_robot/issues/events{/number}","events_url":"https://api.github.com/repos/angel08/talkative_robot/events","assignees_url":"https://api.github.com/repos/angel08/talkative_robot/assignees{/user}","branches_url":"https://api.github.com/repos/angel08/talkative_robot/branches{/branch}","tags_url":"https://api.github.com/repos/angel08/talkative_robot/tags","blobs_url":"https://api.github.com/repos/angel08/talkative_robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angel08/talkative_robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angel08/talkative_robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/angel08/talkative_robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angel08/talkative_robot/statuses/{sha}","languages_url":"https://api.github.com/repos/angel08/talkative_robot/languages","stargazers_url":"https://api.github.com/repos/angel08/talkative_robot/stargazers","contributors_url":"https://api.github.com/repos/angel08/talkative_robot/contributors","subscribers_url":"https://api.github.com/repos/angel08/talkative_robot/subscribers","subscription_url":"https://api.github.com/repos/angel08/talkative_robot/subscription","commits_url":"https://api.github.com/repos/angel08/talkative_robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/angel08/talkative_robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/angel08/talkative_robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/angel08/talkative_robot/issues/comments/{number}","contents_url":"https://api.github.com/repos/angel08/talkative_robot/contents/{+path}","compare_url":"https://api.github.com/repos/angel08/talkative_robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angel08/talkative_robot/merges","archive_url":"https://api.github.com/repos/angel08/talkative_robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angel08/talkative_robot/downloads","issues_url":"https://api.github.com/repos/angel08/talkative_robot/issues{/number}","pulls_url":"https://api.github.com/repos/angel08/talkative_robot/pulls{/number}","milestones_url":"https://api.github.com/repos/angel08/talkative_robot/milestones{/number}","notifications_url":"https://api.github.com/repos/angel08/talkative_robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angel08/talkative_robot/labels{/name}","releases_url":"https://api.github.com/repos/angel08/talkative_robot/releases{/id}","created_at":"2015-01-14T14:35:14Z","updated_at":"2015-01-14T23:07:46Z","pushed_at":"2015-01-15T04:49:36Z","git_url":"git://github.com/angel08/talkative_robot.git","ssh_url":"git@github.com:angel08/talkative_robot.git","clone_url":"https://github.com/angel08/talkative_robot.git","svn_url":"https://github.com/angel08/talkative_robot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"angel08:master","ref":"master","sha":"8ae7f7c8f0406248fac200e157db549f511cd413","user":{"login":"angel08","id":10440203,"avatar_url":"https://avatars.githubusercontent.com/u/10440203?v=3","gravatar_id":"","url":"https://api.github.com/users/angel08","html_url":"https://github.com/angel08","followers_url":"https://api.github.com/users/angel08/followers","following_url":"https://api.github.com/users/angel08/following{/other_user}","gists_url":"https://api.github.com/users/angel08/gists{/gist_id}","starred_url":"https://api.github.com/users/angel08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angel08/subscriptions","organizations_url":"https://api.github.com/users/angel08/orgs","repos_url":"https://api.github.com/users/angel08/repos","events_url":"https://api.github.com/users/angel08/events{/privacy}","received_events_url":"https://api.github.com/users/angel08/received_events","type":"User","site_admin":false},"repo":{"id":29248251,"name":"talkative_robot","full_name":"angel08/talkative_robot","owner":{"login":"angel08","id":10440203,"avatar_url":"https://avatars.githubusercontent.com/u/10440203?v=3","gravatar_id":"","url":"https://api.github.com/users/angel08","html_url":"https://github.com/angel08","followers_url":"https://api.github.com/users/angel08/followers","following_url":"https://api.github.com/users/angel08/following{/other_user}","gists_url":"https://api.github.com/users/angel08/gists{/gist_id}","starred_url":"https://api.github.com/users/angel08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angel08/subscriptions","organizations_url":"https://api.github.com/users/angel08/orgs","repos_url":"https://api.github.com/users/angel08/repos","events_url":"https://api.github.com/users/angel08/events{/privacy}","received_events_url":"https://api.github.com/users/angel08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/angel08/talkative_robot","description":"talkative robot project ","fork":false,"url":"https://api.github.com/repos/angel08/talkative_robot","forks_url":"https://api.github.com/repos/angel08/talkative_robot/forks","keys_url":"https://api.github.com/repos/angel08/talkative_robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angel08/talkative_robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angel08/talkative_robot/teams","hooks_url":"https://api.github.com/repos/angel08/talkative_robot/hooks","issue_events_url":"https://api.github.com/repos/angel08/talkative_robot/issues/events{/number}","events_url":"https://api.github.com/repos/angel08/talkative_robot/events","assignees_url":"https://api.github.com/repos/angel08/talkative_robot/assignees{/user}","branches_url":"https://api.github.com/repos/angel08/talkative_robot/branches{/branch}","tags_url":"https://api.github.com/repos/angel08/talkative_robot/tags","blobs_url":"https://api.github.com/repos/angel08/talkative_robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angel08/talkative_robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angel08/talkative_robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/angel08/talkative_robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angel08/talkative_robot/statuses/{sha}","languages_url":"https://api.github.com/repos/angel08/talkative_robot/languages","stargazers_url":"https://api.github.com/repos/angel08/talkative_robot/stargazers","contributors_url":"https://api.github.com/repos/angel08/talkative_robot/contributors","subscribers_url":"https://api.github.com/repos/angel08/talkative_robot/subscribers","subscription_url":"https://api.github.com/repos/angel08/talkative_robot/subscription","commits_url":"https://api.github.com/repos/angel08/talkative_robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/angel08/talkative_robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/angel08/talkative_robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/angel08/talkative_robot/issues/comments/{number}","contents_url":"https://api.github.com/repos/angel08/talkative_robot/contents/{+path}","compare_url":"https://api.github.com/repos/angel08/talkative_robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angel08/talkative_robot/merges","archive_url":"https://api.github.com/repos/angel08/talkative_robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angel08/talkative_robot/downloads","issues_url":"https://api.github.com/repos/angel08/talkative_robot/issues{/number}","pulls_url":"https://api.github.com/repos/angel08/talkative_robot/pulls{/number}","milestones_url":"https://api.github.com/repos/angel08/talkative_robot/milestones{/number}","notifications_url":"https://api.github.com/repos/angel08/talkative_robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angel08/talkative_robot/labels{/name}","releases_url":"https://api.github.com/repos/angel08/talkative_robot/releases{/id}","created_at":"2015-01-14T14:35:14Z","updated_at":"2015-01-14T23:07:46Z","pushed_at":"2015-01-15T04:49:36Z","git_url":"git://github.com/angel08/talkative_robot.git","ssh_url":"git@github.com:angel08/talkative_robot.git","clone_url":"https://github.com/angel08/talkative_robot.git","svn_url":"https://github.com/angel08/talkative_robot","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/3"},"html":{"href":"https://github.com/angel08/talkative_robot/pull/3"},"issue":{"href":"https://api.github.com/repos/angel08/talkative_robot/issues/3"},"comments":{"href":"https://api.github.com/repos/angel08/talkative_robot/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/angel08/talkative_robot/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/angel08/talkative_robot/statuses/5417cdc2929054ea09710d9fb63b3ef3162e586c"}}}}