method

add_runtime_dependency

Importance_1
add_runtime_dependency(gem, *requirements) public

Adds a runtime dependency named gem with requirements to this gem.

Usage:

spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'
Show source
Register or log in to add new notes.