Class: Set
- Inherits:
-
Object
- Object
- Set
- Defined in:
- lib/extensions.rb
Instance Method Summary collapse
Instance Method Details
#include_any?(enum) ⇒ Boolean
38 39 40 41 42 43 44 45 |
# File 'lib/extensions.rb', line 38 def include_any?(enum) enum.each { |e| if self.include?(e) return true end } return false end |