debian-mirror-gitlab/app/presenters/packages/nuget/packages_versions_presenter.rb
2020-08-09 17:44:08 +05:30

15 lines
254 B
Ruby

# 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