Method: Senkyoshi::Collection#find_instances_not_of
- Defined in:
- lib/senkyoshi/collection.rb
#find_instances_not_of(types) ⇒ Object
42 43 44 45 46 |
# File 'lib/senkyoshi/collection.rb', line 42 def find_instances_not_of(types) @resources.select do |res| types.each { |type| res.class != type } end end |