16 lines
254 B
Ruby
16 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
|