Class: Gemgate::Index
- Inherits:
-
Object
- Object
- Gemgate::Index
- Defined in:
- lib/gemgate/index.rb
Instance Attribute Summary collapse
-
#latest_specs ⇒ Object
writeonly
Sets the attribute latest_specs.
-
#prerelease_specs ⇒ Object
writeonly
Sets the attribute prerelease_specs.
-
#quick_marshal_specs ⇒ Object
writeonly
Sets the attribute quick_marshal_specs.
-
#specs ⇒ Object
writeonly
Sets the attribute specs.
-
#storage ⇒ Object
Returns the value of attribute storage.
Instance Method Summary collapse
Instance Attribute Details
#latest_specs=(value) ⇒ Object
Sets the attribute latest_specs
4 5 6 |
# File 'lib/gemgate/index.rb', line 4 def latest_specs=(value) @latest_specs = value end |
#prerelease_specs=(value) ⇒ Object
Sets the attribute prerelease_specs
4 5 6 |
# File 'lib/gemgate/index.rb', line 4 def prerelease_specs=(value) @prerelease_specs = value end |
#quick_marshal_specs=(value) ⇒ Object
Sets the attribute quick_marshal_specs
4 5 6 |
# File 'lib/gemgate/index.rb', line 4 def quick_marshal_specs=(value) @quick_marshal_specs = value end |
#specs=(value) ⇒ Object
Sets the attribute specs
4 5 6 |
# File 'lib/gemgate/index.rb', line 4 def specs=(value) @specs = value end |
#storage ⇒ Object
Returns the value of attribute storage.
3 4 5 |
# File 'lib/gemgate/index.rb', line 3 def storage @storage end |
Instance Method Details
#add(gem) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/gemgate/index.rb', line 6 def add(gem) specs.add(gem) latest_specs.add(gem) prerelease_specs.add(gem) quick_marshal_specs.add(gem) end |