{"action":"created","comment":{"url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/comments/28623097","id":28623097,"diff_hunk":"@@ -0,0 +1,45 @@\n+class Chess\n+\n+\tattr_accessor :fila, :columna\n+\n+\tdef initialize(fila, columna)\n+\t\t@fila, @columna=fila, columna\n+\t\tintercalar\n+\n+\tend\n+\n+\tdef intercalar\n+\t\t#@board = Matrix.build(@fila, @columna){|fila, columna| 1}\n+\t\t@board=Array.new(@fila){Array.new(@columna)}\n+\t\t\t\n+\n+\n+\t\t@board[0][0]=1\n+\t\tfor f in 0..@fila-1\n+\t\t for c in 0..@columna-1","path":"yhondanilo/chess.rb","position":19,"original_position":19,"commit_id":"3fdc9451476dc0a95c6ad33814a34b78771d2765","original_commit_id":"3fdc9451476dc0a95c6ad33814a34b78771d2765","user":{"login":"rderoldan1","id":968973,"avatar_url":"https://avatars.githubusercontent.com/u/968973?v=3","gravatar_id":"","url":"https://api.github.com/users/rderoldan1","html_url":"https://github.com/rderoldan1","followers_url":"https://api.github.com/users/rderoldan1/followers","following_url":"https://api.github.com/users/rderoldan1/following{/other_user}","gists_url":"https://api.github.com/users/rderoldan1/gists{/gist_id}","starred_url":"https://api.github.com/users/rderoldan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rderoldan1/subscriptions","organizations_url":"https://api.github.com/users/rderoldan1/orgs","repos_url":"https://api.github.com/users/rderoldan1/repos","events_url":"https://api.github.com/users/rderoldan1/events{/privacy}","received_events_url":"https://api.github.com/users/rderoldan1/received_events","type":"User","site_admin":false},"body":"sería mejor llamar el getter que la variable de instancia\r\n```ruby\r\nfor f in 0..self.columna - 1\r\n```","created_at":"2015-04-17T19:28:25Z","updated_at":"2015-04-17T19:28:25Z","html_url":"https://github.com/CollectiveLearning/ChessBoard/pull/6#discussion_r28623097","pull_request_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/comments/28623097"},"html":{"href":"https://github.com/CollectiveLearning/ChessBoard/pull/6#discussion_r28623097"},"pull_request":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6","id":33565478,"html_url":"https://github.com/CollectiveLearning/ChessBoard/pull/6","diff_url":"https://github.com/CollectiveLearning/ChessBoard/pull/6.diff","patch_url":"https://github.com/CollectiveLearning/ChessBoard/pull/6.patch","issue_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/6","number":6,"state":"open","locked":false,"title":"CHESSBOARD","user":{"login":"yhon-danilo","id":7013821,"avatar_url":"https://avatars.githubusercontent.com/u/7013821?v=3","gravatar_id":"","url":"https://api.github.com/users/yhon-danilo","html_url":"https://github.com/yhon-danilo","followers_url":"https://api.github.com/users/yhon-danilo/followers","following_url":"https://api.github.com/users/yhon-danilo/following{/other_user}","gists_url":"https://api.github.com/users/yhon-danilo/gists{/gist_id}","starred_url":"https://api.github.com/users/yhon-danilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhon-danilo/subscriptions","organizations_url":"https://api.github.com/users/yhon-danilo/orgs","repos_url":"https://api.github.com/users/yhon-danilo/repos","events_url":"https://api.github.com/users/yhon-danilo/events{/privacy}","received_events_url":"https://api.github.com/users/yhon-danilo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-17T17:34:52Z","updated_at":"2015-04-17T19:28:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50a7d3af46173e1fa9b73875d92fcc54966aff00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6/commits","review_comments_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6/comments","review_comment_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/6/comments","statuses_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/statuses/3fdc9451476dc0a95c6ad33814a34b78771d2765","head":{"label":"yhon-danilo:master","ref":"master","sha":"3fdc9451476dc0a95c6ad33814a34b78771d2765","user":{"login":"yhon-danilo","id":7013821,"avatar_url":"https://avatars.githubusercontent.com/u/7013821?v=3","gravatar_id":"","url":"https://api.github.com/users/yhon-danilo","html_url":"https://github.com/yhon-danilo","followers_url":"https://api.github.com/users/yhon-danilo/followers","following_url":"https://api.github.com/users/yhon-danilo/following{/other_user}","gists_url":"https://api.github.com/users/yhon-danilo/gists{/gist_id}","starred_url":"https://api.github.com/users/yhon-danilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhon-danilo/subscriptions","organizations_url":"https://api.github.com/users/yhon-danilo/orgs","repos_url":"https://api.github.com/users/yhon-danilo/repos","events_url":"https://api.github.com/users/yhon-danilo/events{/privacy}","received_events_url":"https://api.github.com/users/yhon-danilo/received_events","type":"User","site_admin":false},"repo":{"id":34031689,"name":"ChessBoard","full_name":"yhon-danilo/ChessBoard","owner":{"login":"yhon-danilo","id":7013821,"avatar_url":"https://avatars.githubusercontent.com/u/7013821?v=3","gravatar_id":"","url":"https://api.github.com/users/yhon-danilo","html_url":"https://github.com/yhon-danilo","followers_url":"https://api.github.com/users/yhon-danilo/followers","following_url":"https://api.github.com/users/yhon-danilo/following{/other_user}","gists_url":"https://api.github.com/users/yhon-danilo/gists{/gist_id}","starred_url":"https://api.github.com/users/yhon-danilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhon-danilo/subscriptions","organizations_url":"https://api.github.com/users/yhon-danilo/orgs","repos_url":"https://api.github.com/users/yhon-danilo/repos","events_url":"https://api.github.com/users/yhon-danilo/events{/privacy}","received_events_url":"https://api.github.com/users/yhon-danilo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yhon-danilo/ChessBoard","description":"yhondanilo","fork":true,"url":"https://api.github.com/repos/yhon-danilo/ChessBoard","forks_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/forks","keys_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/teams","hooks_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/hooks","issue_events_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/issues/events{/number}","events_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/events","assignees_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/assignees{/user}","branches_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/branches{/branch}","tags_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/tags","blobs_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/git/refs{/sha}","trees_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/statuses/{sha}","languages_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/languages","stargazers_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/stargazers","contributors_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/contributors","subscribers_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/subscribers","subscription_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/subscription","commits_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/commits{/sha}","git_commits_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/git/commits{/sha}","comments_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/comments{/number}","issue_comment_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/issues/comments{/number}","contents_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/contents/{+path}","compare_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/merges","archive_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/downloads","issues_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/issues{/number}","pulls_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/pulls{/number}","milestones_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/milestones{/number}","notifications_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/labels{/name}","releases_url":"https://api.github.com/repos/yhon-danilo/ChessBoard/releases{/id}","created_at":"2015-04-16T03:13:19Z","updated_at":"2015-04-17T16:50:56Z","pushed_at":"2015-04-17T16:50:55Z","git_url":"git://github.com/yhon-danilo/ChessBoard.git","ssh_url":"git@github.com:yhon-danilo/ChessBoard.git","clone_url":"https://github.com/yhon-danilo/ChessBoard.git","svn_url":"https://github.com/yhon-danilo/ChessBoard","homepage":"","size":187,"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":"CollectiveLearning:master","ref":"master","sha":"4a5c3a550dae7004d1f1b335e5d6919906cc311b","user":{"login":"CollectiveLearning","id":11666950,"avatar_url":"https://avatars.githubusercontent.com/u/11666950?v=3","gravatar_id":"","url":"https://api.github.com/users/CollectiveLearning","html_url":"https://github.com/CollectiveLearning","followers_url":"https://api.github.com/users/CollectiveLearning/followers","following_url":"https://api.github.com/users/CollectiveLearning/following{/other_user}","gists_url":"https://api.github.com/users/CollectiveLearning/gists{/gist_id}","starred_url":"https://api.github.com/users/CollectiveLearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CollectiveLearning/subscriptions","organizations_url":"https://api.github.com/users/CollectiveLearning/orgs","repos_url":"https://api.github.com/users/CollectiveLearning/repos","events_url":"https://api.github.com/users/CollectiveLearning/events{/privacy}","received_events_url":"https://api.github.com/users/CollectiveLearning/received_events","type":"Organization","site_admin":false},"repo":{"id":32939062,"name":"ChessBoard","full_name":"CollectiveLearning/ChessBoard","owner":{"login":"CollectiveLearning","id":11666950,"avatar_url":"https://avatars.githubusercontent.com/u/11666950?v=3","gravatar_id":"","url":"https://api.github.com/users/CollectiveLearning","html_url":"https://github.com/CollectiveLearning","followers_url":"https://api.github.com/users/CollectiveLearning/followers","following_url":"https://api.github.com/users/CollectiveLearning/following{/other_user}","gists_url":"https://api.github.com/users/CollectiveLearning/gists{/gist_id}","starred_url":"https://api.github.com/users/CollectiveLearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CollectiveLearning/subscriptions","organizations_url":"https://api.github.com/users/CollectiveLearning/orgs","repos_url":"https://api.github.com/users/CollectiveLearning/repos","events_url":"https://api.github.com/users/CollectiveLearning/events{/privacy}","received_events_url":"https://api.github.com/users/CollectiveLearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CollectiveLearning/ChessBoard","description":"","fork":false,"url":"https://api.github.com/repos/CollectiveLearning/ChessBoard","forks_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/forks","keys_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/teams","hooks_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/hooks","issue_events_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/events{/number}","events_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/events","assignees_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/assignees{/user}","branches_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/branches{/branch}","tags_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/tags","blobs_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/git/refs{/sha}","trees_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/statuses/{sha}","languages_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/languages","stargazers_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/stargazers","contributors_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/contributors","subscribers_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/subscribers","subscription_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/subscription","commits_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/commits{/sha}","git_commits_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/git/commits{/sha}","comments_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/comments{/number}","issue_comment_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/comments{/number}","contents_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/contents/{+path}","compare_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/merges","archive_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/downloads","issues_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues{/number}","pulls_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls{/number}","milestones_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/milestones{/number}","notifications_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/labels{/name}","releases_url":"https://api.github.com/repos/CollectiveLearning/ChessBoard/releases{/id}","created_at":"2015-03-26T16:30:48Z","updated_at":"2015-04-17T03:24:54Z","pushed_at":"2015-04-17T17:34:52Z","git_url":"git://github.com/CollectiveLearning/ChessBoard.git","ssh_url":"git@github.com:CollectiveLearning/ChessBoard.git","clone_url":"https://github.com/CollectiveLearning/ChessBoard.git","svn_url":"https://github.com/CollectiveLearning/ChessBoard","homepage":null,"size":176,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6"},"html":{"href":"https://github.com/CollectiveLearning/ChessBoard/pull/6"},"issue":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/6"},"comments":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/CollectiveLearning/ChessBoard/statuses/3fdc9451476dc0a95c6ad33814a34b78771d2765"}}}}