method
respond_to?
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Example::ModuleInclusionWarnings::MethodDispatcher
- 1.1.4 (0)
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
respond_to?(sym)
public
Hide source
# File lib/spec/example/module_inclusion_warnings.rb, line 14 def respond_to?(sym) @mod && @mod.instance_methods.include?(sym.to_s) end