{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/5","id":97782842,"html_url":"https://github.com/LuisRBarreras/string-builder/pull/5","diff_url":"https://github.com/LuisRBarreras/string-builder/pull/5.diff","patch_url":"https://github.com/LuisRBarreras/string-builder/pull/5.patch","issue_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/5","number":5,"state":"closed","locked":false,"title":"Implement each","user":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"body":"## each(collection, callback)\r\nAllows the iteration over an array of values without **breaking the cascasde or chain**.\r\nIt shall to iterate over each value on the array and then call the _**callback**_ function.\r\nThe **each** method will call the callback setting the context (**_this_**) reference to the\r\n_**StringBuilder**_ and will send 3 three parameters **_value_** , **_index_**  and **_args_** .\r\n- **Sintax**\r\n    ```js\r\n        sb.each(people, function(value, index, people) {\r\n                this\r\n                    .cat('<tr>')\r\n                    .cat('<td>' + value.name + '</td>')\r\n                    .cat('<td>' + value.age + '</td>')\r\n                    .cat('</tr>')\r\n            });\r\n    ```\r\n\r\n- **Parameters**\r\n    * collection\r\n        * array\r\n    * callback\r\n        * function\r\n            * with parameters value, index and people","created_at":"2016-12-13T16:15:57Z","updated_at":"2016-12-13T19:43:12Z","closed_at":"2016-12-13T19:43:12Z","merged_at":"2016-12-13T19:43:12Z","merge_commit_sha":"210056dcfa507bf08fab009930042b28227dcf63","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/5/commits","review_comments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/5/comments","review_comment_url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/5/comments","statuses_url":"https://api.github.com/repos/LuisRBarreras/string-builder/statuses/2c75edfd0534fd6f29fc1e75761a24ea892c4026","head":{"label":"LuisRBarreras:feature/each","ref":"feature/each","sha":"2c75edfd0534fd6f29fc1e75761a24ea892c4026","user":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"repo":{"id":75671082,"name":"string-builder","full_name":"LuisRBarreras/string-builder","owner":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LuisRBarreras/string-builder","description":null,"fork":false,"url":"https://api.github.com/repos/LuisRBarreras/string-builder","forks_url":"https://api.github.com/repos/LuisRBarreras/string-builder/forks","keys_url":"https://api.github.com/repos/LuisRBarreras/string-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuisRBarreras/string-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuisRBarreras/string-builder/teams","hooks_url":"https://api.github.com/repos/LuisRBarreras/string-builder/hooks","issue_events_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/events{/number}","events_url":"https://api.github.com/repos/LuisRBarreras/string-builder/events","assignees_url":"https://api.github.com/repos/LuisRBarreras/string-builder/assignees{/user}","branches_url":"https://api.github.com/repos/LuisRBarreras/string-builder/branches{/branch}","tags_url":"https://api.github.com/repos/LuisRBarreras/string-builder/tags","blobs_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuisRBarreras/string-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/LuisRBarreras/string-builder/languages","stargazers_url":"https://api.github.com/repos/LuisRBarreras/string-builder/stargazers","contributors_url":"https://api.github.com/repos/LuisRBarreras/string-builder/contributors","subscribers_url":"https://api.github.com/repos/LuisRBarreras/string-builder/subscribers","subscription_url":"https://api.github.com/repos/LuisRBarreras/string-builder/subscription","commits_url":"https://api.github.com/repos/LuisRBarreras/string-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuisRBarreras/string-builder/contents/{+path}","compare_url":"https://api.github.com/repos/LuisRBarreras/string-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuisRBarreras/string-builder/merges","archive_url":"https://api.github.com/repos/LuisRBarreras/string-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuisRBarreras/string-builder/downloads","issues_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues{/number}","pulls_url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/LuisRBarreras/string-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/LuisRBarreras/string-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuisRBarreras/string-builder/labels{/name}","releases_url":"https://api.github.com/repos/LuisRBarreras/string-builder/releases{/id}","deployments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/deployments","created_at":"2016-12-05T22:14:18Z","updated_at":"2016-12-07T01:33:38Z","pushed_at":"2016-12-13T19:43:12Z","git_url":"git://github.com/LuisRBarreras/string-builder.git","ssh_url":"git@github.com:LuisRBarreras/string-builder.git","clone_url":"https://github.com/LuisRBarreras/string-builder.git","svn_url":"https://github.com/LuisRBarreras/string-builder","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"LuisRBarreras:master","ref":"master","sha":"84642ea4b416f73dac703ca7b2d254677675f17e","user":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"repo":{"id":75671082,"name":"string-builder","full_name":"LuisRBarreras/string-builder","owner":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LuisRBarreras/string-builder","description":null,"fork":false,"url":"https://api.github.com/repos/LuisRBarreras/string-builder","forks_url":"https://api.github.com/repos/LuisRBarreras/string-builder/forks","keys_url":"https://api.github.com/repos/LuisRBarreras/string-builder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LuisRBarreras/string-builder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LuisRBarreras/string-builder/teams","hooks_url":"https://api.github.com/repos/LuisRBarreras/string-builder/hooks","issue_events_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/events{/number}","events_url":"https://api.github.com/repos/LuisRBarreras/string-builder/events","assignees_url":"https://api.github.com/repos/LuisRBarreras/string-builder/assignees{/user}","branches_url":"https://api.github.com/repos/LuisRBarreras/string-builder/branches{/branch}","tags_url":"https://api.github.com/repos/LuisRBarreras/string-builder/tags","blobs_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/refs{/sha}","trees_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LuisRBarreras/string-builder/statuses/{sha}","languages_url":"https://api.github.com/repos/LuisRBarreras/string-builder/languages","stargazers_url":"https://api.github.com/repos/LuisRBarreras/string-builder/stargazers","contributors_url":"https://api.github.com/repos/LuisRBarreras/string-builder/contributors","subscribers_url":"https://api.github.com/repos/LuisRBarreras/string-builder/subscribers","subscription_url":"https://api.github.com/repos/LuisRBarreras/string-builder/subscription","commits_url":"https://api.github.com/repos/LuisRBarreras/string-builder/commits{/sha}","git_commits_url":"https://api.github.com/repos/LuisRBarreras/string-builder/git/commits{/sha}","comments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/comments{/number}","issue_comment_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/comments{/number}","contents_url":"https://api.github.com/repos/LuisRBarreras/string-builder/contents/{+path}","compare_url":"https://api.github.com/repos/LuisRBarreras/string-builder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LuisRBarreras/string-builder/merges","archive_url":"https://api.github.com/repos/LuisRBarreras/string-builder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LuisRBarreras/string-builder/downloads","issues_url":"https://api.github.com/repos/LuisRBarreras/string-builder/issues{/number}","pulls_url":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls{/number}","milestones_url":"https://api.github.com/repos/LuisRBarreras/string-builder/milestones{/number}","notifications_url":"https://api.github.com/repos/LuisRBarreras/string-builder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LuisRBarreras/string-builder/labels{/name}","releases_url":"https://api.github.com/repos/LuisRBarreras/string-builder/releases{/id}","deployments_url":"https://api.github.com/repos/LuisRBarreras/string-builder/deployments","created_at":"2016-12-05T22:14:18Z","updated_at":"2016-12-07T01:33:38Z","pushed_at":"2016-12-13T19:43:12Z","git_url":"git://github.com/LuisRBarreras/string-builder.git","ssh_url":"git@github.com:LuisRBarreras/string-builder.git","clone_url":"https://github.com/LuisRBarreras/string-builder.git","svn_url":"https://github.com/LuisRBarreras/string-builder","homepage":null,"size":35,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/LuisRBarreras/string-builder/pulls/5"},"html":{"href":"https://github.com/LuisRBarreras/string-builder/pull/5"},"issue":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/5"},"comments":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/LuisRBarreras/string-builder/statuses/2c75edfd0534fd6f29fc1e75761a24ea892c4026"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"LuisRBarreras","id":5649796,"avatar_url":"https://avatars.githubusercontent.com/u/5649796?v=3","gravatar_id":"","url":"https://api.github.com/users/LuisRBarreras","html_url":"https://github.com/LuisRBarreras","followers_url":"https://api.github.com/users/LuisRBarreras/followers","following_url":"https://api.github.com/users/LuisRBarreras/following{/other_user}","gists_url":"https://api.github.com/users/LuisRBarreras/gists{/gist_id}","starred_url":"https://api.github.com/users/LuisRBarreras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LuisRBarreras/subscriptions","organizations_url":"https://api.github.com/users/LuisRBarreras/orgs","repos_url":"https://api.github.com/users/LuisRBarreras/repos","events_url":"https://api.github.com/users/LuisRBarreras/events{/privacy}","received_events_url":"https://api.github.com/users/LuisRBarreras/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":6,"additions":80,"deletions":2,"changed_files":4}}
{"actor":{"display_login":"LuisRBarreras"}}