Class: RegexpFilter
- Inherits:
-
MatchFilter
- Object
- MatchFilter
- RegexpFilter
- Defined in:
- lib/extensions/mspec/mspec/runner/filters/regexp.rb
Instance Method Summary collapse
Methods inherited from MatchFilter
#===, #initialize, #register, #unregister
Constructor Details
This class inherits a constructor from MatchFilter
Instance Method Details
#to_regexp(*strings) ⇒ Object
4 5 6 |
# File 'lib/extensions/mspec/mspec/runner/filters/regexp.rb', line 4 def to_regexp(*strings) strings.map { |str| Regexp.new str } end |