class Array

Public Instance Methods

with_value(base) click to toggle source
# File lib/pup/utilities/array.rb, line 2
def with_value(base)
  reject { |field| base.send(field).nil? }
end
without_id() click to toggle source
# File lib/pup/utilities/array.rb, line 6
def without_id
  reject { |key| key == :id }
end