Method: Minitest::Runnable.methods_matching
- Defined in:
- lib/minitest.rb
.methods_matching(re) ⇒ Object
Returns all instance methods matching the pattern re.
313 314 315 |
# File 'lib/minitest.rb', line 313 def self.methods_matching re public_instance_methods(true).grep(re).map(&:to_s) end |