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

Ruby 1.9 has Symbols in instance_methods #2

Closed
kschiess opened this issue Mar 4, 2011 · 3 comments
Closed

Ruby 1.9 has Symbols in instance_methods #2

kschiess opened this issue Mar 4, 2011 · 3 comments

Comments

@kschiess
Copy link
Contributor

kschiess commented Mar 4, 2011

BlankSlates auto-defense will fail to work with 1.9, since 1.9 has only symbols in instance_methods, not strings. As a consequence, the line
https://github.com/masover/blankslate/blob/master/lib/blankslate.rb#L23
will prevent anything from happening in #hide.

@masover
Copy link
Owner

masover commented Mar 4, 2011

I don't know that I care. The entire purpose of this library is to deal with the fact that 1.8 doesn't have BasicObject. What does BlankSlate offer that BasicObject doesn't?

@kschiess
Copy link
Contributor Author

kschiess commented Mar 7, 2011

See my pull request.

@kschiess
Copy link
Contributor Author

thanks ;)

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

No branches or pull requests

2 participants