{"id":21310016,"url":"https://github.com/tadd/binding_self","last_synced_at":"2025-03-15T20:26:51.048Z","repository":{"id":23614610,"uuid":"26983881","full_name":"tadd/binding_self","owner":"tadd","description":"Binding#self to extract self of the binding","archived":false,"fork":false,"pushed_at":"2014-12-27T11:22:14.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T09:33:22.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tadd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-22T00:39:02.000Z","updated_at":"2018-12-20T00:51:20.000Z","dependencies_parsed_at":"2022-08-22T02:10:54.948Z","dependency_job_id":null,"html_url":"https://github.com/tadd/binding_self","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Fbinding_self","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Fbinding_self/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Fbinding_self/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tadd%2Fbinding_self/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tadd","download_url":"https://codeload.github.com/tadd/binding_self/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243788257,"owners_count":20348001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T17:11:57.685Z","updated_at":"2025-03-15T20:26:51.020Z","avatar_url":"https://github.com/tadd.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Binding#self\n\nBinding#self to extract self of the binding.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'binding_self'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install binding_self\n\n## Usage\n\n```ruby\nrequire 'binding_self'\n\nclass Foo\n  def initialize(a)\n    @ivar = a\n  end\n\n  def binding\n    ::Kernel.binding\n  end\nend\n\nfoo = Foo.new(2)\nfoo.binding.self #=\u003e #\u003cFoo:0x00000012345678 @ivar=2\u003e\nfoo.binding.self.instance_eval { @ivar } #=\u003e 2\n```\n\n\n## Contributing\n\n1. Fork it ( https://github.com/tadd/binding_self/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request!\n\n## License\n\nRuby's.  See COPYING and BSDL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadd%2Fbinding_self","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftadd%2Fbinding_self","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftadd%2Fbinding_self/lists"}