method

gem_dependency

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: DependencyCommand
gem_dependency(pattern, version, prerelease) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/dependency_command.rb, line 82
  def gem_dependency(pattern, version, prerelease) # :nodoc:
    dependency = Gem::Deprecate.skip_during {
      Gem::Dependency.new pattern, version
    }

    dependency.prerelease = prerelease

    dependency
  end
Register or log in to add new notes.