{"action":"created","comment":{"url":"https://api.github.com/repos/exercism/xruby/pulls/comments/77227172","id":77227172,"diff_hunk":"@@ -0,0 +1,53 @@\n+class Dominoes\n+  require_relative 'domino'\n+  attr_accessor :list\n+\n+  #[ArrayTuples], false => [Domino] or [Domino], true => [Domino]\n+  def initialize( arr=[], already_dominoes= nil)\n+    @list = []\n+    arr.each do |item|","path":"exercises/dominoes/dominoes.rb","position":8,"original_position":8,"commit_id":"16853cdb6243baad432201a9a576b6f5eb533985","original_commit_id":"16853cdb6243baad432201a9a576b6f5eb533985","user":{"login":"seanreed1111","id":5740286,"avatar_url":"https://avatars.githubusercontent.com/u/5740286?v=3","gravatar_id":"","url":"https://api.github.com/users/seanreed1111","html_url":"https://github.com/seanreed1111","followers_url":"https://api.github.com/users/seanreed1111/followers","following_url":"https://api.github.com/users/seanreed1111/following{/other_user}","gists_url":"https://api.github.com/users/seanreed1111/gists{/gist_id}","starred_url":"https://api.github.com/users/seanreed1111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanreed1111/subscriptions","organizations_url":"https://api.github.com/users/seanreed1111/orgs","repos_url":"https://api.github.com/users/seanreed1111/repos","events_url":"https://api.github.com/users/seanreed1111/events{/privacy}","received_events_url":"https://api.github.com/users/seanreed1111/received_events","type":"User","site_admin":false},"body":"That is much cleaner, thanks.\nI'd still actually like that @list because I believe I'm going to need to construct separate sublists and keep track of them for the ultimate n-domino solution.\n\n\n\n> On Sep 1, 2016, at 1:56 PM, Tute Costa <notifications@github.com> wrote:\n> \n> In exercises/dominoes/dominoes.rb:\n> \n> > @@ -0,0 +1,53 @@\n> > +class Dominoes\n> > +  require_relative 'domino'\n> > +  attr_accessor :list\n> > +\n> > +  #[ArrayTuples], false => [Domino] or [Domino], true => [Domino]\n> > +  def initialize( arr=[], already_dominoes= nil)\n> > +    @list = []\n> > +    arr.each do |item|\n> Rubyism: if you use map instead of each, you don't need the @list variable.\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n","created_at":"2016-09-01T18:23:46Z","updated_at":"2016-09-01T18:23:46Z","html_url":"https://github.com/exercism/xruby/pull/424#discussion_r77227172","pull_request_url":"https://api.github.com/repos/exercism/xruby/pulls/424","_links":{"self":{"href":"https://api.github.com/repos/exercism/xruby/pulls/comments/77227172"},"html":{"href":"https://github.com/exercism/xruby/pull/424#discussion_r77227172"},"pull_request":{"href":"https://api.github.com/repos/exercism/xruby/pulls/424"}}},"pull_request":{"url":"https://api.github.com/repos/exercism/xruby/pulls/424","id":83024643,"html_url":"https://github.com/exercism/xruby/pull/424","diff_url":"https://github.com/exercism/xruby/pull/424.diff","patch_url":"https://github.com/exercism/xruby/pull/424.patch","issue_url":"https://api.github.com/repos/exercism/xruby/issues/424","number":424,"state":"open","locked":false,"title":"[WIP] add dominoes","user":{"login":"seanreed1111","id":5740286,"avatar_url":"https://avatars.githubusercontent.com/u/5740286?v=3","gravatar_id":"","url":"https://api.github.com/users/seanreed1111","html_url":"https://github.com/seanreed1111","followers_url":"https://api.github.com/users/seanreed1111/followers","following_url":"https://api.github.com/users/seanreed1111/following{/other_user}","gists_url":"https://api.github.com/users/seanreed1111/gists{/gist_id}","starred_url":"https://api.github.com/users/seanreed1111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanreed1111/subscriptions","organizations_url":"https://api.github.com/users/seanreed1111/orgs","repos_url":"https://api.github.com/users/seanreed1111/repos","events_url":"https://api.github.com/users/seanreed1111/events{/privacy}","received_events_url":"https://api.github.com/users/seanreed1111/received_events","type":"User","site_admin":false},"body":"working on dominoes","created_at":"2016-08-28T19:30:20Z","updated_at":"2016-09-01T18:23:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"715c6e1d1962a693a6678f12de664dadcf8d5a95","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/xruby/pulls/424/commits","review_comments_url":"https://api.github.com/repos/exercism/xruby/pulls/424/comments","review_comment_url":"https://api.github.com/repos/exercism/xruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/xruby/issues/424/comments","statuses_url":"https://api.github.com/repos/exercism/xruby/statuses/16853cdb6243baad432201a9a576b6f5eb533985","head":{"label":"seanreed1111:dominoes","ref":"dominoes","sha":"16853cdb6243baad432201a9a576b6f5eb533985","user":{"login":"seanreed1111","id":5740286,"avatar_url":"https://avatars.githubusercontent.com/u/5740286?v=3","gravatar_id":"","url":"https://api.github.com/users/seanreed1111","html_url":"https://github.com/seanreed1111","followers_url":"https://api.github.com/users/seanreed1111/followers","following_url":"https://api.github.com/users/seanreed1111/following{/other_user}","gists_url":"https://api.github.com/users/seanreed1111/gists{/gist_id}","starred_url":"https://api.github.com/users/seanreed1111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanreed1111/subscriptions","organizations_url":"https://api.github.com/users/seanreed1111/orgs","repos_url":"https://api.github.com/users/seanreed1111/repos","events_url":"https://api.github.com/users/seanreed1111/events{/privacy}","received_events_url":"https://api.github.com/users/seanreed1111/received_events","type":"User","site_admin":false},"repo":{"id":66786555,"name":"xruby","full_name":"seanreed1111/xruby","owner":{"login":"seanreed1111","id":5740286,"avatar_url":"https://avatars.githubusercontent.com/u/5740286?v=3","gravatar_id":"","url":"https://api.github.com/users/seanreed1111","html_url":"https://github.com/seanreed1111","followers_url":"https://api.github.com/users/seanreed1111/followers","following_url":"https://api.github.com/users/seanreed1111/following{/other_user}","gists_url":"https://api.github.com/users/seanreed1111/gists{/gist_id}","starred_url":"https://api.github.com/users/seanreed1111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanreed1111/subscriptions","organizations_url":"https://api.github.com/users/seanreed1111/orgs","repos_url":"https://api.github.com/users/seanreed1111/repos","events_url":"https://api.github.com/users/seanreed1111/events{/privacy}","received_events_url":"https://api.github.com/users/seanreed1111/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanreed1111/xruby","description":"Exercism Exercises in Ruby","fork":true,"url":"https://api.github.com/repos/seanreed1111/xruby","forks_url":"https://api.github.com/repos/seanreed1111/xruby/forks","keys_url":"https://api.github.com/repos/seanreed1111/xruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanreed1111/xruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanreed1111/xruby/teams","hooks_url":"https://api.github.com/repos/seanreed1111/xruby/hooks","issue_events_url":"https://api.github.com/repos/seanreed1111/xruby/issues/events{/number}","events_url":"https://api.github.com/repos/seanreed1111/xruby/events","assignees_url":"https://api.github.com/repos/seanreed1111/xruby/assignees{/user}","branches_url":"https://api.github.com/repos/seanreed1111/xruby/branches{/branch}","tags_url":"https://api.github.com/repos/seanreed1111/xruby/tags","blobs_url":"https://api.github.com/repos/seanreed1111/xruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanreed1111/xruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanreed1111/xruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanreed1111/xruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanreed1111/xruby/statuses/{sha}","languages_url":"https://api.github.com/repos/seanreed1111/xruby/languages","stargazers_url":"https://api.github.com/repos/seanreed1111/xruby/stargazers","contributors_url":"https://api.github.com/repos/seanreed1111/xruby/contributors","subscribers_url":"https://api.github.com/repos/seanreed1111/xruby/subscribers","subscription_url":"https://api.github.com/repos/seanreed1111/xruby/subscription","commits_url":"https://api.github.com/repos/seanreed1111/xruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanreed1111/xruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanreed1111/xruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanreed1111/xruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanreed1111/xruby/contents/{+path}","compare_url":"https://api.github.com/repos/seanreed1111/xruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanreed1111/xruby/merges","archive_url":"https://api.github.com/repos/seanreed1111/xruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanreed1111/xruby/downloads","issues_url":"https://api.github.com/repos/seanreed1111/xruby/issues{/number}","pulls_url":"https://api.github.com/repos/seanreed1111/xruby/pulls{/number}","milestones_url":"https://api.github.com/repos/seanreed1111/xruby/milestones{/number}","notifications_url":"https://api.github.com/repos/seanreed1111/xruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanreed1111/xruby/labels{/name}","releases_url":"https://api.github.com/repos/seanreed1111/xruby/releases{/id}","deployments_url":"https://api.github.com/repos/seanreed1111/xruby/deployments","created_at":"2016-08-28T19:25:57Z","updated_at":"2016-08-28T19:25:58Z","pushed_at":"2016-09-01T15:23:06Z","git_url":"git://github.com/seanreed1111/xruby.git","ssh_url":"git@github.com:seanreed1111/xruby.git","clone_url":"https://github.com/seanreed1111/xruby.git","svn_url":"https://github.com/seanreed1111/xruby","homepage":null,"size":846,"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":"exercism:master","ref":"master","sha":"e50b1cbeabc3a82c1ed7800da112b0984dbbf01c","user":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"repo":{"id":17258847,"name":"xruby","full_name":"exercism/xruby","owner":{"login":"exercism","id":5624255,"avatar_url":"https://avatars.githubusercontent.com/u/5624255?v=3","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exercism/xruby","description":"Exercism Exercises in Ruby","fork":false,"url":"https://api.github.com/repos/exercism/xruby","forks_url":"https://api.github.com/repos/exercism/xruby/forks","keys_url":"https://api.github.com/repos/exercism/xruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/xruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/xruby/teams","hooks_url":"https://api.github.com/repos/exercism/xruby/hooks","issue_events_url":"https://api.github.com/repos/exercism/xruby/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/xruby/events","assignees_url":"https://api.github.com/repos/exercism/xruby/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/xruby/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/xruby/tags","blobs_url":"https://api.github.com/repos/exercism/xruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/xruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/xruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/xruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/xruby/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/xruby/languages","stargazers_url":"https://api.github.com/repos/exercism/xruby/stargazers","contributors_url":"https://api.github.com/repos/exercism/xruby/contributors","subscribers_url":"https://api.github.com/repos/exercism/xruby/subscribers","subscription_url":"https://api.github.com/repos/exercism/xruby/subscription","commits_url":"https://api.github.com/repos/exercism/xruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/xruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/xruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/xruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/xruby/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/xruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/xruby/merges","archive_url":"https://api.github.com/repos/exercism/xruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/xruby/downloads","issues_url":"https://api.github.com/repos/exercism/xruby/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/xruby/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/xruby/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/xruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/xruby/labels{/name}","releases_url":"https://api.github.com/repos/exercism/xruby/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/xruby/deployments","created_at":"2014-02-27T18:11:43Z","updated_at":"2016-08-24T14:47:32Z","pushed_at":"2016-09-01T15:23:07Z","git_url":"git://github.com/exercism/xruby.git","ssh_url":"git@github.com:exercism/xruby.git","clone_url":"https://github.com/exercism/xruby.git","svn_url":"https://github.com/exercism/xruby","homepage":null,"size":27066,"stargazers_count":141,"watchers_count":141,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":186,"mirror_url":null,"open_issues_count":20,"forks":186,"open_issues":20,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/xruby/pulls/424"},"html":{"href":"https://github.com/exercism/xruby/pull/424"},"issue":{"href":"https://api.github.com/repos/exercism/xruby/issues/424"},"comments":{"href":"https://api.github.com/repos/exercism/xruby/issues/424/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/xruby/pulls/424/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/xruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/xruby/pulls/424/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/xruby/statuses/16853cdb6243baad432201a9a576b6f5eb533985"}}}}
{"actor":{"display_login":"seanreed1111"}}