debian-mirror-gitlab/app/presenters/packages/nuget/packages_versions_presenter.rb

16 lines
254 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
module Packages
module Nuget
class PackagesVersionsPresenter
def initialize(packages)
@packages = packages
end
def versions
@packages.pluck_versions.sort
end
end
end
end