method

add_runtime_dependency

v1_9_3_125 - Show latest stable - Class: Gem::Specification
add_runtime_dependency(gem, *requirements)
public

Adds a runtime dependency named gem with requirements to this Gem. For example:

spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'