Class: RubyGemsRequirementsSystem::Package
- Inherits:
-
Struct
- Object
- Struct
- RubyGemsRequirementsSystem::Package
- Defined in:
- lib/rubygems-requirements-system/installer.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
25 26 27 |
# File 'lib/rubygems-requirements-system/installer.rb', line 25 def id @id end |
#operator ⇒ Object
Returns the value of attribute operator
25 26 27 |
# File 'lib/rubygems-requirements-system/installer.rb', line 25 def operator @operator end |
#version ⇒ Object
Returns the value of attribute version
25 26 27 |
# File 'lib/rubygems-requirements-system/installer.rb', line 25 def version @version end |
Instance Method Details
#valid? ⇒ Boolean
26 27 28 29 30 |
# File 'lib/rubygems-requirements-system/installer.rb', line 26 def valid? return false if id.empty? return false if operator and version.nil? true end |