This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative "package"
|
||||
|
||||
module Bundler
|
||||
class Resolver
|
||||
#
|
||||
# Represents the Gemfile from the resolver's perspective. It's the root
|
||||
# package and Gemfile entries depend on it.
|
||||
#
|
||||
class Root < Package
|
||||
def initialize(name)
|
||||
@name = name
|
||||
end
|
||||
|
||||
def meta?
|
||||
true
|
||||
end
|
||||
|
||||
def root?
|
||||
true
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user