Parent

Class Index [+]

Quicksearch

Gem::Dependency

Attributes

source[RW]
groups[RW]

Public Instance Methods

matches_spec?(spec) click to toggle source
     # File lib/bundler/rubygems_ext.rb, line 120
120:     def matches_spec?(spec)
121:       # name can be a Regexp, so use ===
122:       return false unless name === spec.name
123:       return true  if requirement.none?
124: 
125:       requirement.satisfied_by?(spec.version)
126:     end
required_by() click to toggle source
    # File lib/bundler/resolver.rb, line 16
16:     def required_by
17:       @required_by ||= []
18:     end
requirement() click to toggle source
    # File lib/bundler/shared_helpers.rb, line 8
 8:       def requirement
 9:         version_requirements
10:       end
to_lock() click to toggle source
     # File lib/bundler/rubygems_ext.rb, line 112
112:     def to_lock
113:       out = "  #{name}"
114:       unless requirement == Gem::Requirement.default
115:         out << " (#{requirement.to_s})"
116:       end
117:       out
118:     end
to_yaml_properties() click to toggle source
     # File lib/bundler/rubygems_ext.rb, line 108
108:     def to_yaml_properties
109:       instance_variables.reject { |p| ["@source", "@groups"].include?(p.to_s) }
110:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.