slice! (DataMapper::Collection)

    # File lib/dm-core/collection.rb, line 361
        def slice!(*args)
          removed = super

          resources_removed(removed) unless removed.nil?

          # Workaround for Ruby <= 1.8.6
          compact! if RUBY_VERSION <= '1.8.6'

          unless removed.kind_of?(Enumerable)
            return removed
          end

          offset, limit = extract_slice_arguments(*args)

          query = sliced_query(offset, limit)

          new_collection(query, removed)
        end