Class: Array
Instance Method Summary collapse
-
#excluding(*keys) ⇒ Object
Return a new Array, excluding the specified list of values.
Instance Method Details
#excluding(*keys) ⇒ Object
Return a new Array, excluding the specified list of values.
80 81 82 83 84 |
# File 'lib/cloudkit.rb', line 80 def excluding(*keys) trimmed = self.dup trimmed - keys end |