Method: LibGems::Specification#add_runtime_dependency
- Defined in:
- lib/libgems/specification.rb
#add_runtime_dependency(gem, *requirements) ⇒ Object Also known as: add_dependency
Adds a runtime dependency named gem with requirements to this LibGems. For example:
spec.add_runtime_dependency 'jabber4r', '> 0.1', '<= 0.5'
561 562 563 |
# File 'lib/libgems/specification.rb', line 561 def add_runtime_dependency(gem, *requirements) add_dependency_with_type(gem, :runtime, *requirements) end |