Method: LibGems::Specification#add_development_dependency
- Defined in:
- lib/libgems/specification.rb
#add_development_dependency(gem, *requirements) ⇒ Object
Adds a development dependency named gem with requirements to this LibGems. For example:
spec.add_development_dependency 'jabber4r', '> 0.1', '<= 0.5'
Development dependencies aren’t installed by default and aren’t activated when a gem is required.
551 552 553 |
# File 'lib/libgems/specification.rb', line 551 def add_development_dependency(gem, *requirements) add_dependency_with_type(gem, :development, *requirements) end |