Class: UrlRegexp::Set
- Inherits:
-
Set
- Object
- Set
- UrlRegexp::Set
- Defined in:
- lib/url_regexp/path_set.rb
Instance Method Summary collapse
Instance Method Details
#include?(o) ⇒ Boolean
5 6 7 8 9 10 |
# File 'lib/url_regexp/path_set.rb', line 5 def include?(o) # Comparing keys directly is faster than rehash everytime for few items # @hash.rehash # super(o) @hash.keys.include?(o) end |