class ViewModel::Utils

def wrap_one_or_many(obj)

def wrap_one_or_many(obj)
  return_array = array_like?(obj)
  results = yield(Array.wrap(obj))
  return_array ? results : results.first
end