Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for prelude.rb #1

Open
jfirebaugh opened this issue Jan 13, 2012 · 2 comments
Open

support for prelude.rb #1

jfirebaugh opened this issue Jan 13, 2012 · 2 comments
Labels

Comments

@jfirebaugh
Copy link

MRI 1.9 has this crazy corner case called prelude.rb. It currently defines exactly two methods: Mutex#synchronize and Thread.exclusive.

pry-doc doesn't know about it currently:

[1] pry(main)> show-method Mutex#synchronize
Errno::ENOENT: No such file or directory - <internal:prelude>
from /Users/john/.rvm/gems/ruby-1.9.3-p0/gems/method_source-0.6.7/lib/method_source.rb:52:in `initialize'

Since this is such a crazy corner case, please treat it as ultra low-priority. ruby-doc.org doesn't even know about these methods yet! :)

@banister
Copy link
Owner

Thanks, is this just a 1.9.3 thing?

@jfirebaugh
Copy link
Author

I think it's 1.9.x, it goes back to 2007.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants