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.
88 89 90 91 |
# File 'lib/cloudkit.rb', line 88 def excluding(*keys) trimmed = self.dup trimmed - keys end |