Class: Inventory::Dependencies::Development

Inherits:
Object
  • Object
show all
Includes:
Inventory::Dependency
Defined in:
lib/inventory/dependencies/development.rb

Instance Attribute Summary

Attributes included from Inventory::Dependency

#major, #minor, #name, #patch

Instance Method Summary collapse

Methods included from Inventory::Dependency

#feature, #initialize, #require, #to_s

Instance Method Details

#add_to_gem_specification(specification) ⇒ Object



6
7
8
9
# File 'lib/inventory/dependencies/development.rb', line 6

def add_to_gem_specification(specification)
  specification.add_development_dependency name, gem_requirement
  self
end