https://github.com/floehopper/introspection
Dynamic inspection of the hierarchy of method definitions on a Ruby object.
https://github.com/floehopper/introspection
class definition introspection metaprogramming method module object ruby
Last synced: 9 months ago
JSON representation
Dynamic inspection of the hierarchy of method definitions on a Ruby object.
- Host: GitHub
- URL: https://github.com/floehopper/introspection
- Owner: floehopper
- License: other
- Created: 2011-06-10T13:37:41.000Z (over 14 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T13:04:06.000Z (over 1 year ago)
- Last Synced: 2025-03-27T16:50:36.996Z (10 months ago)
- Topics: class, definition, introspection, metaprogramming, method, module, object, ruby
- Language: Ruby
- Homepage:
- Size: 45.9 KB
- Stars: 6
- Watchers: 0
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING.txt
Awesome Lists containing this project
README
## Introspection [](https://app.circleci.com/pipelines/github/floehopper/introspection) [](http://badge.fury.io/rb/introspection)
Dynamic inspection of the hierarchy of method definitions on a Ruby object.
Motivations :-
* Extract code that may be generally useful from Mocha.
* Learn more about the Ruby's Object, Class & Module and the method receiver chain.
* Detect undesirable changes to classes made by other libraries.