Class: Bundler::Resolver::Root
- Defined in:
- lib/bundler/resolver/root.rb
Overview
Represents the Gemfile from the resolver’s perspective. It’s the root package and Gemfile entries depend on it.
Instance Attribute Summary
Attributes inherited from Package
#dependency, #locked_version, #name, #platforms
Instance Method Summary collapse
-
#initialize(name) ⇒ Root
constructor
A new instance of Root.
- #meta? ⇒ Boolean
- #root? ⇒ Boolean
Methods inherited from Package
#==, #consider_prereleases!, #current_platform?, #force_ruby_platform?, #hash, #ignores_prereleases?, #prerelease_specified?, #to_s, #unlock?
Constructor Details
#initialize(name) ⇒ Root
Returns a new instance of Root.
12 13 14 |
# File 'lib/bundler/resolver/root.rb', line 12 def initialize(name) @name = name end |
Instance Method Details
#meta? ⇒ Boolean
16 17 18 |
# File 'lib/bundler/resolver/root.rb', line 16 def true end |
#root? ⇒ Boolean
20 21 22 |
# File 'lib/bundler/resolver/root.rb', line 20 def root? true end |