class RSpec::Mocks::PartialDoubleProxy
def visibility_for(method_name)
- Private: -
def visibility_for(method_name) # We fall back to :public because by default we allow undefined methods # to be stubbed, and when we do so, we make them public. MethodReference.method_visibility_for(@object, method_name) || :public end