method

respond_to?

rspec latest stable - Class: Spec::Example::ModuleInclusionWarnings::MethodDispatcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

respond_to?(sym)
public

No documentation available.

# File lib/spec/example/module_inclusion_warnings.rb, line 14
        def respond_to?(sym)
          @mod && @mod.instance_methods.include?(sym.to_s)
        end