Inspecting the Ruby Interpreter
Ruby gives you access to a lot of information about itself: They can be accessed via various special variables and ObjectSpace. There is also the special RbConfig hash.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Ruby gives you access to a lot of information about itself: They can be accessed via various special variables and ObjectSpace. There is also the special RbConfig hash.
Comments
Great series. Thanks for documenting all the “undocumented” forgotten machinery. Love the posts. Cheers.
Post a comment