{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/comments/27359009","id":27359009,"diff_hunk":"@@ -1,22 +1,30 @@\n # keep only the elements that start with an a\n def select_elements_starting_with_a(array)\n+  array.select {|fruit| fruit[0] == \"a\"}\n end\n \n # keep only the elements that start with a vowel\n def select_elements_starting_with_vowel(array)\n+  array.select {|name| name[0].match(/[aeiou]/)}\n end\n \n # remove instances of nil (but NOT false) from an array\n def remove_nils_from_array(array)\n+  array.reject {|letter| letter == nil}\n+  # there's also \"array.compact\". Neat.\n end\n \n # remove instances of nil AND false from an array\n def remove_nils_and_false_from_array(array)\n+  # could have array.compact before \n+  # and just reject those with false in the block below\n+  array.reject{|letter| letter == nil || letter == false}","path":"lib/questions.rb","position":21,"original_position":21,"commit_id":"ff8350268282b7b47d0aa3443194cd8ebb41e117","original_commit_id":"ff8350268282b7b47d0aa3443194cd8ebb41e117","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":"Space missing to the left of {.<br>Space between { and | missing.<br>Space missing inside }.","created_at":"2015-03-29T21:07:25Z","updated_at":"2015-03-29T21:07:25Z","html_url":"https://github.com/makersacademy/ruby-refresher/pull/16#discussion_r27359009","pull_request_url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/comments/27359009"},"html":{"href":"https://github.com/makersacademy/ruby-refresher/pull/16#discussion_r27359009"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16","id":32188037,"html_url":"https://github.com/makersacademy/ruby-refresher/pull/16","diff_url":"https://github.com/makersacademy/ruby-refresher/pull/16.diff","patch_url":"https://github.com/makersacademy/ruby-refresher/pull/16.patch","issue_url":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/16","number":16,"state":"open","locked":false,"title":"half challenge completed","user":{"login":"tommasobratto","id":10244235,"avatar_url":"https://avatars.githubusercontent.com/u/10244235?v=3","gravatar_id":"","url":"https://api.github.com/users/tommasobratto","html_url":"https://github.com/tommasobratto","followers_url":"https://api.github.com/users/tommasobratto/followers","following_url":"https://api.github.com/users/tommasobratto/following{/other_user}","gists_url":"https://api.github.com/users/tommasobratto/gists{/gist_id}","starred_url":"https://api.github.com/users/tommasobratto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommasobratto/subscriptions","organizations_url":"https://api.github.com/users/tommasobratto/orgs","repos_url":"https://api.github.com/users/tommasobratto/repos","events_url":"https://api.github.com/users/tommasobratto/events{/privacy}","received_events_url":"https://api.github.com/users/tommasobratto/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-29T21:07:19Z","updated_at":"2015-03-29T21:07:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9eaea1264dfb4eb929270067fefcef73b40cadf3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16/commits","review_comments_url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16/comments","review_comment_url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/16/comments","statuses_url":"https://api.github.com/repos/makersacademy/ruby-refresher/statuses/ff8350268282b7b47d0aa3443194cd8ebb41e117","head":{"label":"tommasobratto:master","ref":"master","sha":"ff8350268282b7b47d0aa3443194cd8ebb41e117","user":{"login":"tommasobratto","id":10244235,"avatar_url":"https://avatars.githubusercontent.com/u/10244235?v=3","gravatar_id":"","url":"https://api.github.com/users/tommasobratto","html_url":"https://github.com/tommasobratto","followers_url":"https://api.github.com/users/tommasobratto/followers","following_url":"https://api.github.com/users/tommasobratto/following{/other_user}","gists_url":"https://api.github.com/users/tommasobratto/gists{/gist_id}","starred_url":"https://api.github.com/users/tommasobratto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommasobratto/subscriptions","organizations_url":"https://api.github.com/users/tommasobratto/orgs","repos_url":"https://api.github.com/users/tommasobratto/repos","events_url":"https://api.github.com/users/tommasobratto/events{/privacy}","received_events_url":"https://api.github.com/users/tommasobratto/received_events","type":"User","site_admin":false},"repo":{"id":33036148,"name":"ruby-refresher","full_name":"tommasobratto/ruby-refresher","owner":{"login":"tommasobratto","id":10244235,"avatar_url":"https://avatars.githubusercontent.com/u/10244235?v=3","gravatar_id":"","url":"https://api.github.com/users/tommasobratto","html_url":"https://github.com/tommasobratto","followers_url":"https://api.github.com/users/tommasobratto/followers","following_url":"https://api.github.com/users/tommasobratto/following{/other_user}","gists_url":"https://api.github.com/users/tommasobratto/gists{/gist_id}","starred_url":"https://api.github.com/users/tommasobratto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommasobratto/subscriptions","organizations_url":"https://api.github.com/users/tommasobratto/orgs","repos_url":"https://api.github.com/users/tommasobratto/repos","events_url":"https://api.github.com/users/tommasobratto/events{/privacy}","received_events_url":"https://api.github.com/users/tommasobratto/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tommasobratto/ruby-refresher","description":"Let's revisit the basics of Ruby.","fork":true,"url":"https://api.github.com/repos/tommasobratto/ruby-refresher","forks_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/forks","keys_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/teams","hooks_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/hooks","issue_events_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/issues/events{/number}","events_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/events","assignees_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/assignees{/user}","branches_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/branches{/branch}","tags_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/tags","blobs_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/git/refs{/sha}","trees_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/statuses/{sha}","languages_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/languages","stargazers_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/stargazers","contributors_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/contributors","subscribers_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/subscribers","subscription_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/subscription","commits_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/commits{/sha}","git_commits_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/git/commits{/sha}","comments_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/comments{/number}","issue_comment_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/issues/comments{/number}","contents_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/contents/{+path}","compare_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/merges","archive_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/downloads","issues_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/issues{/number}","pulls_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/pulls{/number}","milestones_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/milestones{/number}","notifications_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/labels{/name}","releases_url":"https://api.github.com/repos/tommasobratto/ruby-refresher/releases{/id}","created_at":"2015-03-28T14:24:19Z","updated_at":"2015-03-29T21:04:59Z","pushed_at":"2015-03-29T21:04:58Z","git_url":"git://github.com/tommasobratto/ruby-refresher.git","ssh_url":"git@github.com:tommasobratto/ruby-refresher.git","clone_url":"https://github.com/tommasobratto/ruby-refresher.git","svn_url":"https://github.com/tommasobratto/ruby-refresher","homepage":"","size":220,"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":"makersacademy:master","ref":"master","sha":"fad0daab5c998783b556c2e3cc3749fc7a88c25f","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":17280753,"name":"ruby-refresher","full_name":"makersacademy/ruby-refresher","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/ruby-refresher","description":"Let's revisit the basics of Ruby.","fork":true,"url":"https://api.github.com/repos/makersacademy/ruby-refresher","forks_url":"https://api.github.com/repos/makersacademy/ruby-refresher/forks","keys_url":"https://api.github.com/repos/makersacademy/ruby-refresher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/ruby-refresher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/ruby-refresher/teams","hooks_url":"https://api.github.com/repos/makersacademy/ruby-refresher/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/ruby-refresher/events","assignees_url":"https://api.github.com/repos/makersacademy/ruby-refresher/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/ruby-refresher/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/ruby-refresher/tags","blobs_url":"https://api.github.com/repos/makersacademy/ruby-refresher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/ruby-refresher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/ruby-refresher/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/ruby-refresher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/ruby-refresher/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/ruby-refresher/languages","stargazers_url":"https://api.github.com/repos/makersacademy/ruby-refresher/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/ruby-refresher/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/ruby-refresher/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/ruby-refresher/subscription","commits_url":"https://api.github.com/repos/makersacademy/ruby-refresher/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/ruby-refresher/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/ruby-refresher/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/ruby-refresher/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/ruby-refresher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/ruby-refresher/merges","archive_url":"https://api.github.com/repos/makersacademy/ruby-refresher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/ruby-refresher/downloads","issues_url":"https://api.github.com/repos/makersacademy/ruby-refresher/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/ruby-refresher/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/ruby-refresher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/ruby-refresher/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/ruby-refresher/releases{/id}","created_at":"2014-02-28T08:59:34Z","updated_at":"2015-03-28T12:40:46Z","pushed_at":"2015-03-29T21:07:20Z","git_url":"git://github.com/makersacademy/ruby-refresher.git","ssh_url":"git@github.com:makersacademy/ruby-refresher.git","clone_url":"https://github.com/makersacademy/ruby-refresher.git","svn_url":"https://github.com/makersacademy/ruby-refresher","homepage":"","size":220,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":9,"forks":36,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16"},"html":{"href":"https://github.com/makersacademy/ruby-refresher/pull/16"},"issue":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/16"},"comments":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/ruby-refresher/statuses/ff8350268282b7b47d0aa3443194cd8ebb41e117"}}}}