Method: KRPC::Doc::SuffixMethods#respond_to_missing?
- Defined in:
- lib/krpc/doc.rb
#respond_to_missing?(method) ⇒ Boolean
179 180 181 182 183 184 |
# File 'lib/krpc/doc.rb', line 179 def respond_to_missing?(method, *) if DOCSTRING_SUFFIX_REGEX =~ method.to_s return true if respond_to? ($1 + $2.to_s).to_sym end super end |