Add respond_to? second argument true for protected method in Ruby2.0.0 #228

Merged
merged 1 commit into from Feb 18, 2013

Projects

None yet

2 participants

@sanemat
Contributor
sanemat commented Dec 21, 2012

respond_to? against a protected method now returns false unless
the second argument is true.
https://github.com/ruby/ruby/blob/trunk/NEWS

@sanemat sanemat Add respond_to? second argument true for protected method
respond_to? against a protected method now returns false unless
the second argument is true.
https://github.com/ruby/ruby/blob/trunk/NEWS
aee198f
@obrie obrie merged commit d78a720 into pluginaweek:master Feb 18, 2013
Owner
obrie commented Feb 18, 2013

Nice patch -- thanks! I'll have to keep a closer eye on Ruby 2.0 compatibility...

@obrie obrie was assigned Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment