class Lookbook::EntityCollection

def next(entity)

def next(entity)
  index = entities.find_index { |i| i.lookup_path == entity.lookup_path }
  entities[index + 1] unless index.nil?
end