Closed larrylv closed 10 years ago
The builds are failing.
Apparently respond_to?
behaves differently on 1.9 and 2.0.
class A
protected
def foo
end
end
A.new.respond_to? :foo
returns true on 1.9, but false on 2.0
So should I just remove the specs added, or close this PR?
Hi @larrylv thanks for the pull request. I can definitely understand how the variable name could be confusing. I'm not so worried about the specs as you are essentially testing ruby at that point. Feel free to remove the test from the PR and I'll merge. Thanks.
@spagalloco I've updated the PR.
thanks for the submission @larrylv
The second parameter stands for "if private and protected methods are included", not just private methods, so
include_private
should be renamed toinclude_all
.