Class Array

  1. lib/cloudkit.rb
Parent: Object

Methods

public instance

  1. excluding

Public instance methods

excluding (*keys)

Return a new Array, excluding the specified list of values.

[show source]
    # File lib/cloudkit.rb, line 88
88:   def excluding(*keys)
89:     trimmed = self.dup
90:     trimmed - keys
91:   end