Class: Gem2Rpm::Dependency
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Gem2Rpm::Dependency
- Defined in:
- lib/gem2rpm/gem/dependency.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#requirement ⇒ Object
What does this dependency require?.
-
#type ⇒ Object
Dependency type.
Instance Method Details
#requirement ⇒ Object
What does this dependency require?
7 8 9 10 11 12 13 14 15 |
# File 'lib/gem2rpm/gem/dependency.rb', line 7 def requirement r = begin super rescue version_requirements # For RubyGems < 1.3.6 end Helpers.requirement_versions_to_rpm r end |
#type ⇒ Object
Dependency type. Needs to be explicitly reimplemented.
18 19 20 |
# File 'lib/gem2rpm/gem/dependency.rb', line 18 def type __getobj__.type end |