Class: Packages::Go::PackageFinder

Inherits:
Object
  • Object
show all
Defined in:
app/finders/packages/go/package_finder.rb

Instance Method Summary collapse

Constructor Details

#initialize(project, module_name, module_version) ⇒ PackageFinder

Returns a new instance of PackageFinder.


8
9
10
11
12
# File 'app/finders/packages/go/package_finder.rb', line 8

def initialize(project, module_name, module_version)
  @project = project
  @module_name = module_name
  @module_version = module_version
end

Instance Method Details

#executeObject


14
15
16
# File 'app/finders/packages/go/package_finder.rb', line 14

def execute
  candidates.first
end