{"action":"opened","number":3354,"pull_request":{"url":"https://api.github.com/repos/rubinius/rubinius/pulls/3354","id":30973036,"html_url":"https://github.com/rubinius/rubinius/pull/3354","diff_url":"https://github.com/rubinius/rubinius/pull/3354.diff","patch_url":"https://github.com/rubinius/rubinius/pull/3354.patch","issue_url":"https://api.github.com/repos/rubinius/rubinius/issues/3354","number":3354,"state":"open","locked":false,"title":"Implement Binding#local_variables and Binding#receiver","user":{"login":"ruipserra","id":3883777,"avatar_url":"https://avatars.githubusercontent.com/u/3883777?v=3","gravatar_id":"","url":"https://api.github.com/users/ruipserra","html_url":"https://github.com/ruipserra","followers_url":"https://api.github.com/users/ruipserra/followers","following_url":"https://api.github.com/users/ruipserra/following{/other_user}","gists_url":"https://api.github.com/users/ruipserra/gists{/gist_id}","starred_url":"https://api.github.com/users/ruipserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruipserra/subscriptions","organizations_url":"https://api.github.com/users/ruipserra/orgs","repos_url":"https://api.github.com/users/ruipserra/repos","events_url":"https://api.github.com/users/ruipserra/events{/privacy}","received_events_url":"https://api.github.com/users/ruipserra/received_events","type":"User","site_admin":false},"body":"This is a follow-up of #3352.\r\n\r\nIn summary:\r\n* ```Binding#receiver```: I took @jemc's advice and renamed the ```@self``` ivar to ```@receiver```. To avoid breaking other code, ```self```is kept as a virtual attribute.\r\n* ```Binding#local_variables```: Created the ```local_variables```method in ```Rubinius::VariableScope```, which is used both in ```Kernel.local_variables``` and ```Binding#local_variables```.\r\n\r\nComments and feedback welcome. Thanks for your time :smile:","created_at":"2015-03-11T18:45:34Z","updated_at":"2015-03-11T18:45:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubinius/rubinius/pulls/3354/commits","review_comments_url":"https://api.github.com/repos/rubinius/rubinius/pulls/3354/comments","review_comment_url":"https://api.github.com/repos/rubinius/rubinius/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubinius/rubinius/issues/3354/comments","statuses_url":"https://api.github.com/repos/rubinius/rubinius/statuses/fb6206e0b90ae974dbb7cc7ea048bc05fef1614d","head":{"label":"ruipserra:implement_new_binding_methods","ref":"implement_new_binding_methods","sha":"fb6206e0b90ae974dbb7cc7ea048bc05fef1614d","user":{"login":"ruipserra","id":3883777,"avatar_url":"https://avatars.githubusercontent.com/u/3883777?v=3","gravatar_id":"","url":"https://api.github.com/users/ruipserra","html_url":"https://github.com/ruipserra","followers_url":"https://api.github.com/users/ruipserra/followers","following_url":"https://api.github.com/users/ruipserra/following{/other_user}","gists_url":"https://api.github.com/users/ruipserra/gists{/gist_id}","starred_url":"https://api.github.com/users/ruipserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruipserra/subscriptions","organizations_url":"https://api.github.com/users/ruipserra/orgs","repos_url":"https://api.github.com/users/ruipserra/repos","events_url":"https://api.github.com/users/ruipserra/events{/privacy}","received_events_url":"https://api.github.com/users/ruipserra/received_events","type":"User","site_admin":false},"repo":{"id":31068702,"name":"rubinius","full_name":"ruipserra/rubinius","owner":{"login":"ruipserra","id":3883777,"avatar_url":"https://avatars.githubusercontent.com/u/3883777?v=3","gravatar_id":"","url":"https://api.github.com/users/ruipserra","html_url":"https://github.com/ruipserra","followers_url":"https://api.github.com/users/ruipserra/followers","following_url":"https://api.github.com/users/ruipserra/following{/other_user}","gists_url":"https://api.github.com/users/ruipserra/gists{/gist_id}","starred_url":"https://api.github.com/users/ruipserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruipserra/subscriptions","organizations_url":"https://api.github.com/users/ruipserra/orgs","repos_url":"https://api.github.com/users/ruipserra/repos","events_url":"https://api.github.com/users/ruipserra/events{/privacy}","received_events_url":"https://api.github.com/users/ruipserra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ruipserra/rubinius","description":"The Rubinius Language Platform","fork":true,"url":"https://api.github.com/repos/ruipserra/rubinius","forks_url":"https://api.github.com/repos/ruipserra/rubinius/forks","keys_url":"https://api.github.com/repos/ruipserra/rubinius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruipserra/rubinius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruipserra/rubinius/teams","hooks_url":"https://api.github.com/repos/ruipserra/rubinius/hooks","issue_events_url":"https://api.github.com/repos/ruipserra/rubinius/issues/events{/number}","events_url":"https://api.github.com/repos/ruipserra/rubinius/events","assignees_url":"https://api.github.com/repos/ruipserra/rubinius/assignees{/user}","branches_url":"https://api.github.com/repos/ruipserra/rubinius/branches{/branch}","tags_url":"https://api.github.com/repos/ruipserra/rubinius/tags","blobs_url":"https://api.github.com/repos/ruipserra/rubinius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruipserra/rubinius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruipserra/rubinius/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruipserra/rubinius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruipserra/rubinius/statuses/{sha}","languages_url":"https://api.github.com/repos/ruipserra/rubinius/languages","stargazers_url":"https://api.github.com/repos/ruipserra/rubinius/stargazers","contributors_url":"https://api.github.com/repos/ruipserra/rubinius/contributors","subscribers_url":"https://api.github.com/repos/ruipserra/rubinius/subscribers","subscription_url":"https://api.github.com/repos/ruipserra/rubinius/subscription","commits_url":"https://api.github.com/repos/ruipserra/rubinius/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruipserra/rubinius/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruipserra/rubinius/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruipserra/rubinius/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruipserra/rubinius/contents/{+path}","compare_url":"https://api.github.com/repos/ruipserra/rubinius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruipserra/rubinius/merges","archive_url":"https://api.github.com/repos/ruipserra/rubinius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruipserra/rubinius/downloads","issues_url":"https://api.github.com/repos/ruipserra/rubinius/issues{/number}","pulls_url":"https://api.github.com/repos/ruipserra/rubinius/pulls{/number}","milestones_url":"https://api.github.com/repos/ruipserra/rubinius/milestones{/number}","notifications_url":"https://api.github.com/repos/ruipserra/rubinius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruipserra/rubinius/labels{/name}","releases_url":"https://api.github.com/repos/ruipserra/rubinius/releases{/id}","created_at":"2015-02-20T14:41:00Z","updated_at":"2015-03-07T19:12:19Z","pushed_at":"2015-03-11T12:08:33Z","git_url":"git://github.com/ruipserra/rubinius.git","ssh_url":"git@github.com:ruipserra/rubinius.git","clone_url":"https://github.com/ruipserra/rubinius.git","svn_url":"https://github.com/ruipserra/rubinius","homepage":"http://rubini.us","size":158635,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rubinius:2.2","ref":"2.2","sha":"a5111532084e91518cfa81b771d8cb696faf09ed","user":{"login":"rubinius","id":317747,"avatar_url":"https://avatars.githubusercontent.com/u/317747?v=3","gravatar_id":"","url":"https://api.github.com/users/rubinius","html_url":"https://github.com/rubinius","followers_url":"https://api.github.com/users/rubinius/followers","following_url":"https://api.github.com/users/rubinius/following{/other_user}","gists_url":"https://api.github.com/users/rubinius/gists{/gist_id}","starred_url":"https://api.github.com/users/rubinius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubinius/subscriptions","organizations_url":"https://api.github.com/users/rubinius/orgs","repos_url":"https://api.github.com/users/rubinius/repos","events_url":"https://api.github.com/users/rubinius/events{/privacy}","received_events_url":"https://api.github.com/users/rubinius/received_events","type":"Organization","site_admin":false},"repo":{"id":27,"name":"rubinius","full_name":"rubinius/rubinius","owner":{"login":"rubinius","id":317747,"avatar_url":"https://avatars.githubusercontent.com/u/317747?v=3","gravatar_id":"","url":"https://api.github.com/users/rubinius","html_url":"https://github.com/rubinius","followers_url":"https://api.github.com/users/rubinius/followers","following_url":"https://api.github.com/users/rubinius/following{/other_user}","gists_url":"https://api.github.com/users/rubinius/gists{/gist_id}","starred_url":"https://api.github.com/users/rubinius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubinius/subscriptions","organizations_url":"https://api.github.com/users/rubinius/orgs","repos_url":"https://api.github.com/users/rubinius/repos","events_url":"https://api.github.com/users/rubinius/events{/privacy}","received_events_url":"https://api.github.com/users/rubinius/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubinius/rubinius","description":"The Rubinius Language Platform","fork":false,"url":"https://api.github.com/repos/rubinius/rubinius","forks_url":"https://api.github.com/repos/rubinius/rubinius/forks","keys_url":"https://api.github.com/repos/rubinius/rubinius/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubinius/rubinius/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubinius/rubinius/teams","hooks_url":"https://api.github.com/repos/rubinius/rubinius/hooks","issue_events_url":"https://api.github.com/repos/rubinius/rubinius/issues/events{/number}","events_url":"https://api.github.com/repos/rubinius/rubinius/events","assignees_url":"https://api.github.com/repos/rubinius/rubinius/assignees{/user}","branches_url":"https://api.github.com/repos/rubinius/rubinius/branches{/branch}","tags_url":"https://api.github.com/repos/rubinius/rubinius/tags","blobs_url":"https://api.github.com/repos/rubinius/rubinius/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubinius/rubinius/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubinius/rubinius/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubinius/rubinius/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubinius/rubinius/statuses/{sha}","languages_url":"https://api.github.com/repos/rubinius/rubinius/languages","stargazers_url":"https://api.github.com/repos/rubinius/rubinius/stargazers","contributors_url":"https://api.github.com/repos/rubinius/rubinius/contributors","subscribers_url":"https://api.github.com/repos/rubinius/rubinius/subscribers","subscription_url":"https://api.github.com/repos/rubinius/rubinius/subscription","commits_url":"https://api.github.com/repos/rubinius/rubinius/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubinius/rubinius/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubinius/rubinius/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubinius/rubinius/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubinius/rubinius/contents/{+path}","compare_url":"https://api.github.com/repos/rubinius/rubinius/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubinius/rubinius/merges","archive_url":"https://api.github.com/repos/rubinius/rubinius/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubinius/rubinius/downloads","issues_url":"https://api.github.com/repos/rubinius/rubinius/issues{/number}","pulls_url":"https://api.github.com/repos/rubinius/rubinius/pulls{/number}","milestones_url":"https://api.github.com/repos/rubinius/rubinius/milestones{/number}","notifications_url":"https://api.github.com/repos/rubinius/rubinius/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubinius/rubinius/labels{/name}","releases_url":"https://api.github.com/repos/rubinius/rubinius/releases{/id}","created_at":"2008-01-12T16:46:52Z","updated_at":"2015-03-11T12:44:52Z","pushed_at":"2015-03-10T21:24:44Z","git_url":"git://github.com/rubinius/rubinius.git","ssh_url":"git@github.com:rubinius/rubinius.git","clone_url":"https://github.com/rubinius/rubinius.git","svn_url":"https://github.com/rubinius/rubinius","homepage":"http://rubini.us","size":202600,"stargazers_count":2368,"watchers_count":2368,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":573,"mirror_url":null,"open_issues_count":201,"forks":573,"open_issues":201,"watchers":2368,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubinius/rubinius/pulls/3354"},"html":{"href":"https://github.com/rubinius/rubinius/pull/3354"},"issue":{"href":"https://api.github.com/repos/rubinius/rubinius/issues/3354"},"comments":{"href":"https://api.github.com/repos/rubinius/rubinius/issues/3354/comments"},"review_comments":{"href":"https://api.github.com/repos/rubinius/rubinius/pulls/3354/comments"},"review_comment":{"href":"https://api.github.com/repos/rubinius/rubinius/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubinius/rubinius/pulls/3354/commits"},"statuses":{"href":"https://api.github.com/repos/rubinius/rubinius/statuses/fb6206e0b90ae974dbb7cc7ea048bc05fef1614d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":28,"changed_files":5}}